/* mobivention EUDI Solutions — Landingpage
   CI: Teal #00A0A8, Poppins, sachlich-nüchtern */

/* Poppins — selbstgehostet (DSGVO-konform, kein Drittanbieter-Request an Google) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/poppins-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #00A0A8;
  --teal-dark: #00767C;
  --teal-light-bg: rgba(0, 160, 168, 0.08);
  --teal-accent-on-dark: #00C7D1;
  --ink: #191919;
  --body-text: #404040;
  --muted: #6F6F73;
  --muted-on-dark: #A6A6A6;
  --border: #DEDEDE;
  --input-border: #707070;
  --danger: #D64545;
  --bg: #FAFAFA;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--body-text);
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--ink);
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
}

.logo-brand {
  font-weight: 700;
  font-size: 19px;
  color: var(--teal);
}

.logo-product {
  font-weight: 500;
  font-size: 19px;
  color: #333333;
}

.logo-brand-dark {
  color: var(--teal-accent-on-dark);
  font-size: 16px;
}

.logo-product-dark {
  color: var(--white);
  font-size: 16px;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--body-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--teal-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn:disabled,
.btn:disabled:hover {
  background: var(--teal);
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-sticky {
  font-size: 14px;
  padding: 12px 22px;
  white-space: nowrap;
}

.btn-lg {
  font-size: 16px;
  padding: 15px 28px;
}

.btn:not(.btn-sticky):not(.btn-lg) {
  font-size: 15px;
  padding: 14px 26px;
}

.btn-block {
  width: 100%;
}

.link-secondary {
  color: var(--teal-dark);
  text-decoration: underline;
  font-weight: 500;
  font-size: 15px;
}

/* Layout helpers */
.section {
  padding: 96px 40px;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
}

.text-center {
  text-align: center;
}

.content-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.content-medium {
  max-width: 1000px;
  margin: 0 auto;
}

.content-wide {
  max-width: 1180px;
  margin: 0 auto;
}

.content-faq {
  max-width: 780px;
  margin: 0 auto;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
}

.cta-row {
  margin-top: 48px;
}

.cta-row-left {
  text-align: left;
  margin-top: 40px;
}

.hint-text {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 20px;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 20px;
}

.section h2 {
  text-wrap: pretty;
}

/* Placeholder boxes */
.ph-box {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: repeating-linear-gradient(135deg, #F4F4F4, #F4F4F4 10px, #EFEFEF 10px, #EFEFEF 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.ph-box-alt {
  background: repeating-linear-gradient(135deg, #EFEFEF, #EFEFEF 10px, #F4F4F4 10px, #F4F4F4 20px);
}

.ph-box-lg {
  height: 380px;
}

.ph-box-tall {
  height: 420px;
}

.ph-box-sm {
  height: 120px;
  border-radius: 8px;
  padding: 10px;
  background: repeating-linear-gradient(135deg, #F4F4F4, #F4F4F4 8px, #EFEFEF 8px, #EFEFEF 16px);
}

.ph-box-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: repeating-linear-gradient(135deg, #F4F4F4, #F4F4F4 6px, #EFEFEF 6px, #EFEFEF 12px);
  padding: 0;
}

.ph-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
}

.ph-box-sm .ph-label {
  font-size: 11px;
}

.ph-box-circle .ph-label {
  font-size: 9px;
}

/* Zoomable graphics + lightbox */
.zoomable {
  position: relative;
  cursor: zoom-in;
}

.zoomable::after {
  content: "🔍 Vergrößern";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(25, 25, 25, 0.72);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.zoomable:hover::after,
.zoomable:focus-visible::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.8);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(880px, 92vw);
  max-height: 85vh;
  width: 100%;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-body.ph-box {
  width: 100%;
  height: min(70vh, 560px);
  border-radius: 16px;
}

.lightbox-body .ph-label {
  font-size: 15px;
  max-width: 420px;
}

.lightbox-body img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
  border-radius: 16px;
}

/* Hero */
.hero {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 88px 40px 96px;
}

.hero-text {
  flex: 1 1 460px;
  max-width: 560px;
}

.hero-visual {
  flex: 1 1 420px;
  max-width: 520px;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light-bg);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.hero .lead {
  font-size: 17px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Lösung */
.solution-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
}

.solution-card {
  flex: 1 1 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}

.solution-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.solution-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.solution-card-featured {
  border: 2px solid var(--teal);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.solution-flag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.solution-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.solution-num-muted {
  color: var(--muted);
}

/* Use Cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.usecase-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usecase-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.usecase-card h3 {
  font-size: 17px;
  margin: 0;
}

.usecase-card p {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.usecase-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Sicherheit & Compliance */
.split {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.split-main {
  flex: 1 1 480px;
}

.split-main h2 {
  text-wrap: pretty;
}

.split-main .lead-tight {
  margin: 0 0 32px;
}

.split-aside {
  flex: 1 1 400px;
  max-width: 560px;
}

.split-aside img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-list li {
  display: flex;
  gap: 14px;
}

.check-list .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
}

.check-list strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}

.check-list span {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body-text);
}

/* Warum mobivention */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 56px;
}

.why-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.why-text {
  font-size: 15px;
  line-height: 1.65;
}

.contact-person {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-person-info {
  flex: 1 1 220px;
}

.contact-person-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.contact-person-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.contact-person-role {
  font-size: 13.5px;
  color: var(--muted);
}

/* Timeline */
.on-dark {
  color: var(--white);
  margin: 0 0 16px;
}

.on-dark-muted {
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.timeline-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.timeline-step {
  flex: 1 1 220px;
  max-width: 260px;
  border-top: 3px solid var(--teal);
  padding-top: 20px;
}

.timeline-when {
  font-weight: 700;
  font-size: 14px;
  color: var(--teal-accent-on-dark);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.timeline-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}

.faq-trigger span:first-child {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}

.faq-glyph {
  font-size: 20px;
  color: var(--teal);
  flex: 0 0 auto;
}

.faq-answer {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body-text);
  margin: 0 4px 22px;
  max-width: 680px;
}

/* Kontakt */
.contact-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: stretch;
}

.contact-calendly {
  flex: 1 1 480px;
}

.calendly-container {
  height: 100%;
  min-height: 380px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
}

.calendly-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}

.calendly-consent p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 380px;
}

.calendly-consent .hint-text {
  margin: 0;
}

.calendly-consent a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.calendly-inline-widget {
  min-width: 280px;
  height: 100%;
  min-height: 380px;
}

.contact-form {
  flex: 1 1 400px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:invalid:not(:focus):not(:placeholder-shown),
.contact-form textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--danger);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.consent-label input {
  margin-top: 2px;
}

.contact-form .hint-text {
  margin: 0;
  font-style: normal;
}

.contact-form a {
  color: var(--teal-dark);
}

/* Footer */
.site-footer {
  background: var(--ink);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 13.5px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
  .site-header,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }
}
