/* oberland.ai — gemeinsames Stylesheet für alle Seiten */
:root {
  --oberland-blue: #1E5BA8;
  --tech-blue: #2E7CC7;
  --mountain-gray: #667C92;
  --snow-white: #F8FBFF;
  --rock-anthracite: #2C3E50;
  --sky-blue: #7CB8E8;
  --glacier-lightblue: #E8F4FF;
  --swiss-red: #DA291C;
  --swiss-red-dark: #B61F12;
  --shadow-sm: 0 2px 8px rgba(30,91,168,0.08);
  --shadow-md: 0 8px 24px rgba(30,91,168,0.12);
  --shadow-lg: 0 16px 48px rgba(30,91,168,0.18);
  --radius: 14px;
  --radius-sm: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--rock-anthracite); background: var(--snow-white);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
a { color: var(--tech-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--oberland-blue); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,251,255,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glacier-lightblue);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo img { height: 38px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
nav a {
  color: var(--rock-anthracite); font-weight: 500; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: all .2s;
}
nav a:hover, nav a.active { color: var(--oberland-blue); border-bottom-color: var(--swiss-red); }
.nav-cta {
  background: var(--oberland-blue); color: white !important;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; border-bottom: none !important;
}
.nav-cta:hover { background: var(--swiss-red) !important; border-bottom-color: transparent !important; }
.mobile-nav-toggle { display: none; background: none; border: none; color: var(--oberland-blue); cursor: pointer; padding: 8px; }
@media (max-width: 820px) {
  nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: white; box-shadow: var(--shadow-md); padding: 14px 24px; align-items: stretch; }
  nav ul.open { display: flex; }
  nav ul li { padding: 12px 0; border-bottom: 1px solid var(--glacier-lightblue); }
  nav ul li:last-child { border-bottom: none; }
  .nav-cta { text-align: center; }
  .mobile-nav-toggle { display: block; }
}

/* ===== HERO ===== */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--snow-white) 0%, var(--glacier-lightblue) 100%); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 20px; right: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(218,41,28,0.08) 0%, transparent 70%); pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; }
.hook {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--swiss-red);
  background: rgba(218,41,28,0.08); padding: 8px 16px; border-radius: 100px;
  margin-bottom: 18px; letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(30px, 5.4vw, 50px); font-weight: 800; line-height: 1.1;
  color: var(--oberland-blue); margin-bottom: 18px; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--tech-blue); }
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--rock-anthracite);
  margin-bottom: 28px; max-width: 680px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--oberland-blue); color: white !important; }
.btn-primary:hover { background: var(--swiss-red); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: white; color: var(--oberland-blue) !important;
  border: 1.5px solid var(--glacier-lightblue);
}
.btn-secondary:hover { border-color: var(--swiss-red); color: var(--swiss-red) !important; }
.btn-chat { background: var(--swiss-red); color: white !important; display: inline-flex; align-items: center; gap: 8px; }
.btn-chat:hover { background: var(--swiss-red-dark); transform: translateY(-1px); }
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px;
  padding-top: 20px; border-top: 1px solid rgba(102,124,146,0.18);
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mountain-gray); }
.trust-item svg { flex-shrink: 0; color: var(--swiss-red); }

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--swiss-red);
  letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: var(--oberland-blue);
  margin-bottom: 14px; letter-spacing: -0.01em; max-width: 760px;
}
.section-intro {
  font-size: 17px; color: var(--mountain-gray);
  margin-bottom: 40px; max-width: 680px;
}

/* ===== WAS / WIE ===== */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.how-card {
  background: white; padding: 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--glacier-lightblue);
  transition: all .2s;
}
.how-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--swiss-red); }
.how-icon {
  width: 42px; height: 42px; background: var(--glacier-lightblue); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--oberland-blue); margin-bottom: 16px; font-weight: 700; font-size: 17px;
}
.how-card h3 { font-size: 19px; color: var(--oberland-blue); margin-bottom: 8px; font-weight: 700; }
.how-card p { color: var(--rock-anthracite); font-size: 15px; }

/* ===== SOCIAL PROOF / STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card {
  background: white; padding: 28px 22px; border-radius: var(--radius);
  border-left: 4px solid var(--swiss-red); box-shadow: var(--shadow-sm); text-align: left;
}
.stat-number { font-size: 40px; font-weight: 800; color: var(--oberland-blue); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--rock-anthracite); font-weight: 500; }
.stat-source { font-size: 12px; color: var(--mountain-gray); margin-top: 8px; font-style: italic; }
.quote-block {
  background: white; padding: 32px; border-radius: var(--radius);
  border-left: 4px solid var(--swiss-red); box-shadow: var(--shadow-sm); margin-top: 20px;
}
.quote-block blockquote { font-size: 20px; font-style: italic; color: var(--oberland-blue); font-weight: 500; line-height: 1.4; margin-bottom: 12px; letter-spacing: -0.01em; }
.quote-block cite { font-size: 14px; color: var(--mountain-gray); font-style: normal; }
.quote-block cite strong { color: var(--rock-anthracite); }

/* ===== BRANCHEN ===== */
.branchen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.branche {
  background: white; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--oberland-blue);
  transition: all .2s;
}
.branche:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-top-color: var(--swiss-red); }
.branche-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--swiss-red); background: rgba(218,41,28,0.08);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.branche h3 { font-size: 21px; color: var(--oberland-blue); margin-bottom: 10px; }
.branche p { font-size: 15px; margin-bottom: 14px; }
.branche ul { list-style: none; padding: 0; }
.branche li { font-size: 14px; color: var(--mountain-gray); padding-left: 22px; position: relative; margin-bottom: 6px; }
.branche li::before { content: "→"; position: absolute; left: 0; color: var(--swiss-red); font-weight: 700; }

/* ===== QUALITÄT (vorher SWISS) ===== */
#qualitaet { background: linear-gradient(135deg, var(--oberland-blue) 0%, var(--tech-blue) 100%); color: white; }
#qualitaet .section-eyebrow { color: white; opacity: 0.9; }
#qualitaet .section-title { color: white; }
#qualitaet .section-intro { color: rgba(255,255,255,0.88); }
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.q-item {
  padding: 24px; background: rgba(255,255,255,0.10); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
}
.q-item-dot {
  width: 14px; height: 14px; background: var(--swiss-red); border-radius: 50%; margin-bottom: 14px;
}
.q-item h4 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.q-item p { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.team-card {
  background: white; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--glacier-lightblue);
}
.team-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--oberland-blue), var(--tech-blue));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 19px; margin-bottom: 16px;
}
.team-name { font-size: 21px; font-weight: 700; color: var(--oberland-blue); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--swiss-red); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--rock-anthracite); margin-bottom: 14px; }
.team-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.team-tag { font-size: 12px; background: var(--glacier-lightblue); color: var(--oberland-blue); padding: 4px 10px; border-radius: 100px; font-weight: 500; }

/* ===== CTA / KONTAKT-TEASER ===== */
.cta-box {
  background: white; padding: 48px 36px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--swiss-red);
}
.cta-box h2 { font-size: clamp(24px, 3.6vw, 32px); color: var(--oberland-blue); margin-bottom: 12px; font-weight: 700; }
.cta-box p { font-size: 16px; color: var(--rock-anthracite); margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-box .btn { margin: 4px; }

/* ===== KONTAKT-FORMULAR ===== */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .kontakt-grid { grid-template-columns: 1fr; } }
.kontakt-info h3 { font-size: 22px; color: var(--oberland-blue); margin-bottom: 14px; }
.kontakt-info p { margin-bottom: 14px; font-size: 15px; }
.kontakt-info-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.kontakt-info-row svg { color: var(--swiss-red); flex-shrink: 0; }
.kontakt-form {
  background: white; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--rock-anthracite); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--glacier-lightblue);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  color: var(--rock-anthracite); background: var(--snow-white); transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--swiss-red); }
.form-row textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 13px; color: var(--mountain-gray); margin-top: 12px; }

/* ===== PAKETE ===== */
.pakete-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.paket {
  background: white; padding: 28px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--glacier-lightblue);
  position: relative; transition: all .2s;
}
.paket:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--swiss-red); }
.paket.featured { border-color: var(--swiss-red); }
.paket-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--swiss-red); color: white; padding: 4px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
}
.paket-name { font-size: 20px; font-weight: 700; color: var(--oberland-blue); margin-bottom: 4px; }
.paket-tagline { font-size: 13px; color: var(--mountain-gray); margin-bottom: 18px; min-height: 36px; }
.paket-price { font-size: 26px; font-weight: 700; color: var(--rock-anthracite); margin-bottom: 4px; }
.paket-price-monthly { font-size: 13px; color: var(--mountain-gray); margin-bottom: 20px; }
.paket-price-monthly strong { color: var(--rock-anthracite); }
.paket ul { list-style: none; padding: 0; margin-bottom: 22px; }
.paket li {
  font-size: 13px; padding-left: 22px; position: relative;
  margin-bottom: 8px; color: var(--rock-anthracite);
}
.paket li::before { content: "✓"; position: absolute; left: 0; color: var(--swiss-red); font-weight: 700; }
.paket-note { font-size: 13px; color: var(--mountain-gray); text-align: center; margin-top: 28px; }

/* ===== FOOTER ===== */
footer { background: var(--rock-anthracite); color: rgba(255,255,255,0.78); padding: 48px 0 22px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
footer h5 { color: white; font-size: 13px; margin-bottom: 12px; letter-spacing: 0.4px; text-transform: uppercase; font-weight: 600; }
footer ul { list-style: none; }
footer li { margin-bottom: 7px; font-size: 14px; }
footer a { color: rgba(255,255,255,0.78); }
footer a:hover { color: var(--sky-blue); }
.footer-bio { font-size: 14px; max-width: 380px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ===== CHAT WIDGET (prominent) ===== */
.chat-fab-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; align-items: center; gap: 12px; }
.chat-fab-label {
  background: white; padding: 10px 16px; border-radius: 100px;
  box-shadow: var(--shadow-md); font-size: 14px; font-weight: 600;
  color: var(--oberland-blue); white-space: nowrap; cursor: pointer;
  border: 1.5px solid var(--swiss-red); position: relative;
  animation: bobLabel 3s ease-in-out infinite;
}
@keyframes bobLabel { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
.chat-fab-label::after { content: ""; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: white; }
.chat-fab {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--swiss-red), var(--swiss-red-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg); color: white;
  position: relative; transition: transform .2s;
  animation: pulse 2.5s ease-in-out infinite;
}
.chat-fab:hover { transform: scale(1.06); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(218,41,28,0.5), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 14px rgba(218,41,28,0), var(--shadow-lg); }
}
.chat-fab::after { content: ""; position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; background: #10b981; border-radius: 50%; border: 2px solid white; }
.chat-window {
  position: fixed; bottom: 104px; right: 24px;
  width: 380px; max-width: calc(100vw - 32px);
  height: 580px; max-height: calc(100vh - 140px);
  background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; z-index: 199; overflow: hidden;
}
.chat-window.open { display: flex; animation: chatIn .25s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chat-header { padding: 16px 20px; background: linear-gradient(135deg, var(--oberland-blue), var(--tech-blue)); color: white; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.chat-header-info h4 { font-size: 16px; margin-bottom: 2px; }
.chat-header-info span { font-size: 12px; opacity: 0.85; display: flex; align-items: center; gap: 6px; }
.chat-header-info span::before { content: ""; width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; }
.chat-close { margin-left: auto; background: none; border: none; color: white; font-size: 22px; cursor: pointer; opacity: 0.85; line-height: 1; }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--snow-white); }
.chat-msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: msgIn .2s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { background: white; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg.user { background: var(--oberland-blue); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; padding: 11px 15px; background: white; border-radius: 16px; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); display: flex; gap: 4px; }
.chat-typing span { width: 8px; height: 8px; background: var(--mountain-gray); border-radius: 50%; animation: typing 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-footer { padding: 10px 14px; border-top: 1px solid var(--glacier-lightblue); background: white; text-align: center; font-size: 12px; color: var(--mountain-gray); }
.chat-footer strong { color: var(--oberland-blue); }
.chat-input-area { border-top: 1px solid var(--glacier-lightblue); padding: 10px; display: flex; gap: 6px; background: white; }
.chat-input-area input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--glacier-lightblue); border-radius: 100px; font-size: 14px; font-family: inherit; color: var(--rock-anthracite); outline: none; transition: border-color .2s; }
.chat-input-area input:focus { border-color: var(--swiss-red); }
.chat-input-area button { width: 38px; height: 38px; border: none; background: var(--swiss-red); color: white; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.chat-input-area button:hover:not(:disabled) { background: var(--swiss-red-dark); }
.chat-input-area button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-disclaimer { position: absolute; inset: 0; background: white; padding: 22px; display: flex; flex-direction: column; justify-content: center; z-index: 2; overflow-y: auto; }
.chat-disclaimer h4 { color: var(--oberland-blue); font-size: 17px; margin-bottom: 12px; font-weight: 700; }
.chat-disclaimer p { font-size: 13px; margin-bottom: 10px; color: var(--rock-anthracite); }
.chat-disclaimer .small { font-size: 12px; color: var(--mountain-gray); }
.chat-disclaimer-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.chat-disclaimer button { padding: 11px 16px; border-radius: 10px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.chat-disclaimer .primary { background: var(--swiss-red); color: white; }
.chat-disclaimer .primary:hover { background: var(--swiss-red-dark); }
.chat-disclaimer .secondary { background: white; color: var(--mountain-gray); border: 1px solid var(--glacier-lightblue); }
.chat-disclaimer .secondary:hover { color: var(--oberland-blue); border-color: var(--oberland-blue); }
.chat-error { align-self: center; font-size: 12px; color: #b91c1c; background: #fef2f2; padding: 8px 12px; border-radius: 8px; border: 1px solid #fecaca; }
@media (max-width: 520px) { .chat-fab-label { display: none; } .chat-fab { width: 60px; height: 60px; } }
