/* I-RO Global GmbH – iroglobal.de
   Palette derived from logo gradient: #204a80 (dark navy) → #2478c2 (bright blue) */

:root {
  --ink: #17293d;
  --muted: #5a6b7e;
  --navy: #1b3a5e;
  --navy-deep: #16304f;
  --navy-black: #0f2036;
  --primary: #2069a8;
  --primary-dark: #1d4a80;
  --accent: #2478c2;
  --accent-soft: #7fb3e0;
  --line: #d9e3ee;
  --tint: #f3f7fb;
  --tint-deep: #e6eef8;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 78px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--ink); font-weight: 500; font-size: 15.5px; letter-spacing: .01em;
}
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.nav-cta {
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: 8px; font-weight: 600;
}
.main-nav a.nav-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle svg { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 9px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: transparent; color: var(--primary-dark);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--tint); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: #e8f0f9; }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-black) 0%, var(--navy-deep) 45%, var(--primary-dark) 100%);
  color: #fff;
  padding: 110px 0 150px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-lines {
  position: absolute; right: -120px; top: -60px; height: 130%; z-index: 1;
  opacity: .5; pointer-events: none;
}
.hero .kicker {
  display: inline-block;
  color: var(--accent-soft); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 56px; line-height: 1.12; color: #fff;
  letter-spacing: -.02em; max-width: 860px; font-weight: 800;
}
.hero p.sub {
  margin-top: 26px; max-width: 700px;
  font-size: 20px; color: rgba(255,255,255,.82); line-height: 1.65;
}
.hero .cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page head (subpages) ---------- */
.page-head {
  background: linear-gradient(150deg, var(--navy-black) 0%, var(--navy-deep) 55%, var(--primary-dark) 100%);
  color: #fff;
  padding: 76px 0;
}
.page-head .overline {
  display: block; color: var(--accent-soft); font-weight: 700; font-size: 13.5px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.page-head h1 {
  font-size: 44px; line-height: 1.15; letter-spacing: -.018em; font-weight: 800;
  max-width: 820px;
}
.page-head p.lead {
  margin-top: 16px; max-width: 720px;
  font-size: 19px; color: rgba(255,255,255,.82);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--tint); border-top: 1px solid var(--line); padding: 72px 0; }
.cta-band .container { text-align: center; }
.cta-band h2 { font-size: 30px; color: var(--navy-deep); letter-spacing: -.01em; }
.cta-band p { margin: 12px auto 28px; color: var(--muted); font-size: 17px; max-width: 560px; }

/* ---------- Teaser helpers ---------- */
.section-more { margin-top: 40px; }

/* ---------- Zahlen (overlapping band) ---------- */
.stats-wrap { background: var(--tint); padding-bottom: 8px; }
.stats {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(15, 32, 54, .10);
  margin-top: -70px; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 42px 20px; gap: 24px;
}
.stat { text-align: center; padding: 0 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-size: 42px; font-weight: 800; color: var(--primary-dark);
  letter-spacing: -.01em; line-height: 1.1;
}
.stat .label { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head .overline {
  display: block; color: var(--accent); font-weight: 700; font-size: 13.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 36px; color: var(--navy-deep); line-height: 1.18; letter-spacing: -.015em;
}
.section-head p.lead { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Leistungen ---------- */
#leistungen { background: var(--tint); }

.tab-bar {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 2px solid var(--line);
  margin-bottom: 44px;
}
.tab-btn {
  background: none; border: none; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 17px; color: var(--muted);
  padding: 13px 26px; border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary-dark); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .panel-lead { max-width: 760px; color: var(--muted); font-size: 17.5px; margin-bottom: 40px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
}
.card .icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--tint-deep); color: var(--primary-dark);
  margin-bottom: 20px;
}
.card .icon-tile svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; color: var(--navy-deep); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- AIHAN ---------- */
.aihan-dark {
  background: linear-gradient(160deg, var(--navy-black) 0%, var(--navy-deep) 50%, var(--primary-dark) 100%);
  color: #fff;
}
.aihan-dark .section-head h2 { color: #fff; }
.aihan-dark .section-head .overline { color: var(--accent-soft); }
.aihan-dark .section-head p.lead { color: rgba(255,255,255,.82); }

.badge {
  display: inline-block;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.cap {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 26px;
}
.cap .cap-icon { width: 38px; height: 38px; color: #9cc6ec; margin-bottom: 14px; }
.cap h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.cap p { color: rgba(255,255,255,.78); font-size: 15px; }

.aihan-sub {
  margin-top: 58px; font-size: 23px; color: #fff; letter-spacing: -.01em;
}
.proof-line {
  margin-top: 14px; font-size: 26px; line-height: 1.35; font-weight: 700;
  color: #fff; letter-spacing: -.01em; max-width: 820px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-weight: 600; font-size: 14px;
  padding: 7px 15px; border-radius: 999px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.step {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 26px;
}
.step .step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--primary-dark); font-weight: 700; font-size: 16px;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.78); font-size: 15.5px; }

.claim-box {
  margin-top: 54px;
  position: relative;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(120deg, #a8842c 0%, #f1d27a 35%, #c9a227 65%, #e9d08a 100%) border-box;
  border: 3px solid transparent;
  color: var(--navy-deep); border-radius: var(--radius);
  padding: 40px 44px 34px;
  box-shadow: 0 0 0 1px rgba(201,162,39,.3), 0 0 34px rgba(212,175,55,.28), 0 16px 40px rgba(0,0,0,.3);
}
.claim-box blockquote {
  font-size: 21px; line-height: 1.55; font-weight: 500;
}
.claim-box .claim-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.claim-label {
  position: absolute; top: -15px; left: 34px;
  background: linear-gradient(120deg, #a8842c, #d4af37);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.aihan-cta { margin-top: 38px; }

.trust-line {
  margin-top: 32px; font-size: 13.5px; color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; max-width: 860px;
}

/* ---------- Vision ---------- */
#vision { background: var(--white); }
.vision-quote {
  max-width: 900px;
  border-left: 4px solid var(--accent);
  padding-left: 38px;
}
.vision-quote blockquote {
  font-size: 31px; line-height: 1.4; color: var(--navy-deep);
  font-weight: 700; letter-spacing: -.015em;
}
.vision-quote figcaption { margin-top: 18px; color: var(--muted); font-size: 16px; }
.vision-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 64px;
}
.vpoint h3 {
  font-size: 17px; color: var(--navy-deep); margin-bottom: 8px;
  padding-top: 16px; border-top: 3px solid var(--accent);
}
.vpoint p { color: var(--muted); font-size: 15.5px; }

/* ---------- Über uns ---------- */
#ueber-uns { background: var(--tint); }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 52px; align-items: start; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: var(--ink); font-size: 16.5px; }
.glance {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
}
.glance h3 { font-size: 17px; color: var(--navy-deep); margin-bottom: 16px; }
.glance ul { list-style: none; }
.glance li {
  position: relative; padding-left: 28px; margin-bottom: 12px;
  color: var(--ink); font-size: 15.5px;
}
.glance li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px;
  border: 2px solid var(--accent); border-radius: 50%;
  box-sizing: border-box;
}
.glance li::after {
  content: ""; position: absolute; left: 4.5px; top: 8.5px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Kontakt ---------- */
#kontakt { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-card {
  background: var(--tint); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px;
}
.contact-card .org { font-weight: 700; font-size: 19px; color: var(--navy-deep); }
.contact-card p { margin-top: 10px; color: var(--ink); }
.contact-card .btn { margin-top: 24px; }
.contact-notes { display: grid; gap: 16px; }
.note {
  background: var(--tint); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 18px 20px;
  color: var(--muted); font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-black); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-col h4 {
  color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.55);
}

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: 34px; color: var(--navy-deep); margin-bottom: 32px; }
.legal h2 { font-size: 21px; color: var(--navy-deep); margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink); font-size: 16px; }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal .legal-block + .legal-block { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .cards, .cards.cols-3, .steps, .cap-grid, .vision-points { grid-template-columns: 1fr; }
  .tab-btn { padding: 12px 16px; font-size: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: none; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 29px; }
  .vision-quote blockquote { font-size: 24px; }
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 28px; font-size: 16px; }
  .main-nav a.nav-cta { margin: 10px 28px 0; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 br { display: none; }
  .hero { padding: 72px 0 120px; }
  .hero h1 { font-size: 31px; }
  .hero p.sub { font-size: 17px; }
  section.block { padding: 64px 0; }
  .stats { grid-template-columns: 1fr 1fr; padding: 30px 12px; }
  .stat .num { font-size: 32px; }
  .claim-box { padding: 28px 24px; }
  .claim-box blockquote { font-size: 18px; }
  .vision-quote { padding-left: 22px; }
  .vision-quote blockquote { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
