/* =====================================================
   Innovindo – Main Stylesheet
   Design tokens, reset, and section styles
   ===================================================== */

/* ---------- Self-hosted Inter font ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.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;
}

/* ---------- Custom Properties ---------- */
:root {
  --accent:    #e36436;
  --dark:      #1e1e1e;
  --grey-text: #606060;
  --light-bg:  #f5f5f5;
  --white:     #ffffff;
  --nav-h:     72px;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;
}

/* ---------- Scroll animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

[data-animate] {
  opacity: 0;
}
[data-animate].is-visible {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-duration: 0.7s;
}
[data-animate="up"].is-visible      { animation-name: fadeUp; }
[data-animate="left"].is-visible    { animation-name: fadeLeft; }
[data-animate="right"].is-visible   { animation-name: fadeRight; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: #c9552a;
  border-color: #c9552a;
  transform: translateY(-2px);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey-text);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 999;
  padding: 16px 0 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-text);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  background: rgba(227, 100, 54, 0.05);
}

/* =====================================================
   HERO
   ===================================================== */
#hero {
  min-height: 100vh;
  background-image: url('../assets/images/hero_final.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}


.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  background: rgba(30, 30, 30, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 48px 44px;
  max-width: 560px;
}

.hero-eyebrow {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-title {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-sub {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-card .btn-primary {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* =====================================================
   ÜBER UNS
   ===================================================== */
#ueber-uns {
  background: var(--white);
  padding-block: 100px;
}

#ueber-uns .section-label   { text-align: center; }
#ueber-uns .section-heading { text-align: center; }
#ueber-uns .accent-line     { margin-inline: auto; }

.location-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-text);
  background: var(--light-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 999px;
  padding: 5px 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 16px;
}

.about-text p {
  color: var(--grey-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat-card {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  background: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.stat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-card p {
  font-size: 0.92rem;
  color: var(--grey-text);
}

/* =====================================================
   TEAM
   ===================================================== */
.team-card {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 780px;
  margin: 64px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  padding: 48px 52px;
  box-shadow: var(--shadow);
}

.team-photo-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 32px rgba(227, 100, 54, 0.2);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-name {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--grey-text);
  line-height: 1.7;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 8px;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: background var(--transition), color var(--transition);
  align-self: flex-start;
}

.btn-linkedin:hover {
  background: #c9552a;
  border-color: #c9552a;
  color: var(--white);
}

@media (max-width: 640px) {
  .team-card {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .team-quote { border-left: none; padding-left: 0; border-top: 3px solid var(--accent); padding-top: 16px; }
  .btn-linkedin { align-self: center; }
}

/* =====================================================
   LEISTUNGEN
   ===================================================== */
#leistungen {
  background: var(--light-bg);
  padding-block: 100px;
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header .accent-line { margin-inline: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 36px 32px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.7;
}

/* =====================================================
   ANWENDUNGSFÄLLE
   ===================================================== */
.usecases-intro {
  max-width: 680px;
  margin-inline: auto;
  color: var(--grey-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 8px;
}

.ki-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.ki-number {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ki-category h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ki-category p {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.65;
  margin-top: 10px;
}

.examples-divider {
  text-align: center;
  margin-bottom: 72px;
}

.examples-divider .accent-line {
  margin-inline: auto;
  margin-top: 12px;
}
#anwendungsfaelle {
  background: var(--white);
  padding-block: 100px;
}

.usecases-header {
  text-align: center;
  margin-bottom: 72px;
}

.usecases-header .accent-line { margin-inline: auto; }

.usecase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
}

.usecase-block:last-child { margin-bottom: 0; }

/* Odd blocks: image left, text right — even: text left, image right */
.usecase-block.reverse { direction: rtl; }
.usecase-block.reverse > * { direction: ltr; }

.usecase-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.usecase-text .section-label { margin-bottom: 10px; }

.usecase-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.usecase-text p {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.75;
}

/* =====================================================
   KONTAKT
   ===================================================== */
#kontakt {
  background: var(--white);
  color: var(--dark);
  padding-block: 100px;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card {
  width: 100%;
  max-width: 760px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-heading-col {
  margin-bottom: 48px;
  max-width: 600px;
}

.contact-heading-col .section-label { color: var(--accent); }

.contact-heading-col .section-heading { color: var(--dark); }

.contact-heading-col p {
  color: var(--grey-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 16px;
}

.contact-details {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 20px 28px;
  min-width: 240px;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(227, 100, 54, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item-text {
  text-align: left;
}

.contact-item-text span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 2px;
}

.contact-item-text a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
}

.contact-item-text a:hover { color: var(--accent); }

/* =====================================================
   FOOTER
   ===================================================== */
#footer {
  background: var(--dark);
  padding-block: 48px;
  padding-right: 104px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo svg {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

/* =====================================================
   FLOATING ACTION BUTTON
   ===================================================== */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(227, 100, 54, 0.4); }
  50%       { box-shadow: 0 4px 32px rgba(227, 100, 54, 0.75); }
}

.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fabPulse 2.5s ease-in-out infinite;
  transition: transform var(--transition), background var(--transition);
}

.fab:hover {
  background: #c9552a;
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 6px 28px rgba(227, 100, 54, 0.5);
}

.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark);
}

.fab:hover .fab-tooltip {
  opacity: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .hero-inner { padding-block: 48px; }
  .hero-card { max-width: 100%; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ki-categories {
    grid-template-columns: 1fr;
  }

  .usecase-block,
  .usecase-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-links { flex-wrap: wrap; gap: 16px; }
}
