/* ironTux.de – Design-System & Layout-Komponenten
   Eigenes Plugin-CSS, unabhängig vom Theme (Astra) – Update-sicher. */

:root{
  --it-navy:#0b1c33;
  --it-navy-2:#122a4d;
  --it-navy-3:#1a3763;
  --it-cyan:#33d3f2;
  --it-blue:#155fc4;
  --it-blue-dark:#0d47a1;
  --it-ink:#16202b;
  --it-muted:#5b6b7c;
  --it-bg-soft:#f4f7fb;
  --it-bg-soft-2:#eef3fa;
  --it-border:#e1e8f1;
  --it-radius:14px;
  --it-shadow:0 10px 30px -12px rgba(11,28,51,.18);
  --it-shadow-sm:0 4px 14px -6px rgba(11,28,51,.15);
}

/* ---------- Grundlayout ---------- */
.it-section{ padding:64px 0; }
.it-section--tight{ padding:40px 0; }
.it-section--soft{ background:var(--it-bg-soft); }
.it-section--navy{ background:linear-gradient(135deg,var(--it-navy) 0%,var(--it-navy-2) 55%,var(--it-navy-3) 100%); color:#eaf3ff; }
.it-section--navy h1,.it-section--navy h2,.it-section--navy h3{ color:#fff; }
.it-section--navy p{ color:#c9d9ec; }
.it-wrap{ max-width:1160px; margin:0 auto; padding:0 20px; box-sizing:border-box; }

.it-eyebrow{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--it-blue); background:rgba(21,95,196,.09);
  border:1px solid rgba(21,95,196,.18); border-radius:999px; padding:5px 14px; margin-bottom:14px;
}
.it-section--navy .it-eyebrow{ color:#8fe4f7; background:rgba(51,211,242,.12); border-color:rgba(51,211,242,.35); }

.it-h1{ font-size:clamp(1.9rem,3.4vw,2.7rem); line-height:1.15; font-weight:800; margin:0 0 18px; letter-spacing:-.01em; }
.it-h2{ font-size:clamp(1.5rem,2.6vw,2rem); line-height:1.2; font-weight:800; margin:0 0 14px; letter-spacing:-.01em; }
.it-lede{ font-size:1.15rem; line-height:1.65; color:var(--it-muted); max-width:62ch; margin:0 0 8px; }
.it-section--navy .it-lede{ color:#c9d9ec; }
.it-section--navy p a, .it-section--navy li a{ color:#8fe4f7 !important; text-decoration:underline; }

/* ---------- Buttons ---------- */
.it-btn{
  display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:1rem;
  padding:14px 26px; border-radius:10px; text-decoration:none !important; border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  line-height:1.2; cursor:pointer;
}
.it-btn:hover{ transform:translateY(-2px); }
.it-btn--primary{ background:var(--it-blue); color:#fff !important; box-shadow:var(--it-shadow-sm); }
.it-btn--primary:hover{ background:var(--it-blue-dark); }
.it-btn--ghost{ background:transparent; border-color:rgba(255,255,255,.55); color:#fff !important; }
.it-btn--ghost:hover{ background:rgba(255,255,255,.12); border-color:#fff; }
.it-btn--ghost-light{ background:#fff; border-color:#fff; color:var(--it-navy) !important; }
.it-btn--ghost-light:hover{ background:var(--it-bg-soft); }
.it-btn-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }
.it-btn-sm{ padding:8px 16px; font-size:.9rem; border-radius:8px; }

/* ---------- Hero ---------- */
.it-hero{ position:relative; overflow:hidden; }
.it-hero__grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.it-hero__badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.it-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:.82rem; font-weight:600;
  color:#eaf3ff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  border-radius:999px; padding:7px 13px;
}
.it-badge svg{ width:14px; height:14px; flex:none; }
.it-hero__art{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); border-radius:20px;
  padding:26px; backdrop-filter:blur(2px);
}
.it-hero__art img{ display:block; width:100%; height:auto; border-radius:12px; }

/* ---------- Cards / Grids ---------- */
.it-grid{ display:grid; gap:24px; }
.it-grid--3{ grid-template-columns:repeat(3,1fr); }
.it-grid--2{ grid-template-columns:repeat(2,1fr); }
.it-grid--4{ grid-template-columns:repeat(4,1fr); }

.it-card{
  background:#fff; border:1px solid var(--it-border); border-radius:var(--it-radius);
  padding:28px; box-shadow:var(--it-shadow-sm); transition:transform .15s ease, box-shadow .15s ease;
  display:flex; flex-direction:column; height:100%;
}
.it-card:hover{ transform:translateY(-4px); box-shadow:var(--it-shadow); }
.it-card__icon{
  width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--it-blue),var(--it-navy-3)); color:#fff; margin-bottom:16px; flex:none;
}
.it-card__icon svg{ width:24px; height:24px; }
.it-card h3{ font-size:1.15rem; margin:0 0 8px; font-weight:700; color:var(--it-navy); }
.it-card p{ color:var(--it-muted); font-size:.97rem; line-height:1.55; margin:0 0 14px; }
.it-card__link{ margin-top:auto; font-weight:700; color:var(--it-blue); text-decoration:none; font-size:.93rem; }
.it-card__link:hover{ text-decoration:underline; }

/* ---------- Audience Split ---------- */
.it-split{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.it-split__col{
  border-radius:var(--it-radius); padding:34px; display:flex; flex-direction:column; height:100%;
}
.it-split__col--a{ background:var(--it-bg-soft); border:1px solid var(--it-border); }
.it-split__col--b{ background:linear-gradient(160deg,var(--it-navy),var(--it-navy-3)); color:#fff; }
.it-split__col--b h3, .it-split__col--b strong{ color:#fff !important; }
.it-split__col--b p, .it-split__col--b li{ color:#cfe0f2 !important; }
.it-split__col--b a{ color:#fff !important; text-decoration:underline; }
/* Heller Split-Card innerhalb einer .it-section--navy: gegen die
   sektionsweite weiße Überschriften-/Textfarbe absichern (Spezifität). */
.it-split__col--a h3, .it-split__col--a strong{ color:var(--it-navy) !important; }
.it-split__col--a p, .it-split__col--a li{ color:var(--it-ink) !important; }
.it-split__col h3{ font-size:1.3rem; margin:0 0 10px; }
.it-split__col ul{ margin:14px 0; padding-left:1.2em; }
.it-split__col li{ margin-bottom:8px; }

/* ---------- Process Steps ---------- */
.it-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:it-step; }
.it-step{ position:relative; padding:26px 20px 20px; background:#fff; border:1px solid var(--it-border); border-radius:var(--it-radius); }
.it-step::before{
  counter-increment:it-step; content:counter(it-step);
  position:absolute; top:-16px; left:20px; width:34px; height:34px; border-radius:50%;
  background:var(--it-blue); color:#fff; font-weight:800; font-size:.95rem;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 10px rgba(21,95,196,.35);
}
.it-step h3{ margin:8px 0 8px; font-size:1.02rem; color:var(--it-navy); }
.it-step p{ margin:0; color:var(--it-muted); font-size:.93rem; line-height:1.5; }

/* ---------- Trust bullets / feature list ---------- */
.it-trust{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px 32px; margin:18px 0; padding:0; list-style:none; }
.it-trust li{ display:flex; gap:10px; align-items:flex-start; font-weight:600; color:var(--it-ink); }
.it-trust li svg{ flex:none; width:20px; height:20px; color:var(--it-blue); margin-top:2px; }
.it-section--navy .it-trust li{ color:#eaf3ff; }
.it-section--navy .it-trust li svg{ color:var(--it-cyan); }

/* ---------- FAQ (native <details>) ---------- */
.it-faq{ display:flex; flex-direction:column; gap:12px; }
.it-faq details{
  background:#fff; border:1px solid var(--it-border); border-radius:12px; padding:4px 20px;
}
.it-faq summary{
  cursor:pointer; font-weight:700; padding:16px 0; color:var(--it-navy); list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.it-faq summary::-webkit-details-marker{ display:none; }
.it-faq summary::after{
  content:"+"; font-size:1.4rem; font-weight:400; color:var(--it-blue); flex:none; line-height:1;
}
.it-faq details[open] summary::after{ content:"–"; }
.it-faq details p{ margin:0 0 18px; color:var(--it-muted); line-height:1.6; }

/* ---------- CTA banner ---------- */
.it-cta{
  border-radius:20px; padding:46px; text-align:center;
  background:linear-gradient(135deg,var(--it-navy) 0%,var(--it-navy-3) 100%); color:#fff;
}
.it-cta h2{ color:#fff; margin:0 0 10px; }
.it-cta p{ color:#c9d9ec; max-width:56ch; margin:0 auto; }
.it-cta .it-btn-row{ justify-content:center; }

/* ---------- Tech badge strip ---------- */
.it-techstrip{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-start; }
.it-techstrip span{
  font-size:.85rem; font-weight:700; color:var(--it-navy); background:var(--it-bg-soft-2);
  border:1px solid var(--it-border); border-radius:8px; padding:7px 12px;
}

/* ---------- Kontaktformular: Honeypot verstecken ---------- */
.it-hp-field{
  position:absolute !important; left:-9999px !important; top:-9999px !important;
  width:1px; height:1px; overflow:hidden;
}

/* ---------- Header / Logo ---------- */
.site-header .ast-site-identity.site-branding{ display:flex; align-items:center; gap:12px; }
.site-header .site-logo-img{ display:flex; align-items:center; line-height:0; }
.site-header .site-logo-img .custom-logo{
  max-height:46px; width:auto; height:auto; border-radius:9px; display:block;
}
.site-header .ast-site-identity .site-title{ font-size:1.4rem !important; white-space:nowrap; margin:0; }
.site-header .ast-site-identity .site-title a{ display:inline-block; }
@media (max-width:544px){
  .site-header .site-logo-img .custom-logo{ max-height:38px; }
  .site-header .ast-site-identity .site-title{ font-size:1.15rem !important; }
}

/* ---------- Zweispaltiges Layout (z.B. Formular + Info-Karten) ---------- */
.it-two-col{ display:grid; grid-template-columns:1.3fr .9fr; gap:44px; align-items:start; }
.it-two-col > div{ min-width:0; }
@media (max-width:900px){
  .it-two-col{ grid-template-columns:1fr; }
}

/* ---------- Utility ---------- */
.it-center{ text-align:center; }
.it-mx-auto{ margin-left:auto; margin-right:auto; }
.it-mt-0{ margin-top:0; }
.it-narrow{ max-width:760px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .it-hero__grid{ grid-template-columns:1fr; }
  .it-hero__art{ order:-1; }
  .it-grid--3,.it-grid--4{ grid-template-columns:repeat(2,1fr); }
  .it-split{ grid-template-columns:1fr; }
  .it-steps{ grid-template-columns:repeat(2,1fr); }
  .it-trust{ grid-template-columns:1fr; }
}
@media (max-width: 600px){
  .it-grid--2,.it-grid--3,.it-grid--4{ grid-template-columns:1fr; }
  .it-steps{ grid-template-columns:1fr; }
  .it-section{ padding:44px 0; }
  .it-cta{ padding:32px 22px; }
  .it-h1{ font-size:1.7rem; }
}

/* Weitere helle Komponenten, die versehentlich in eine .it-section--navy
   geraten könnten – Text-Farbe der Sektion darf sie nicht "einfärben". */
.it-section--navy .it-card h3{ color:var(--it-navy) !important; }
.it-section--navy .it-card p{ color:var(--it-muted) !important; }
.it-section--navy .it-faq summary{ color:var(--it-navy) !important; }
.it-section--navy .it-faq details p{ color:var(--it-muted) !important; }

/* ---------- Spezifitäts-Fixes gegen Theme-Overrides (Astra) ---------- */
.single .entry-content .it-section--navy h1,
.single .entry-content .it-section--navy h2,
.single .entry-content .it-section--navy h3,
.page .entry-content .it-section--navy h1,
.page .entry-content .it-section--navy h2,
.page .entry-content .it-section--navy h3{ color:#fff !important; }

.single .entry-content .it-card h3,
.page .entry-content .it-card h3{ color:var(--it-navy) !important; }

/* Heller Split-Card-Typ ("--a") muss die weiße Navy-Sektionsfarbe
   ignorieren können – Regel braucht mind. gleiche Spezifität wie oben. */
.single .entry-content .it-section--navy .it-split__col--a h3,
.page .entry-content .it-section--navy .it-split__col--a h3{ color:var(--it-navy) !important; }
.single .entry-content .it-section--navy .it-split__col--a p,
.single .entry-content .it-section--navy .it-split__col--a li,
.page .entry-content .it-section--navy .it-split__col--a p,
.page .entry-content .it-section--navy .it-split__col--a li{ color:var(--it-ink) !important; }

.single .entry-content .it-btn--primary,
.page .entry-content .it-btn--primary{ color:#fff !important; }
.single .entry-content .it-btn--ghost-light,
.page .entry-content .it-btn--ghost-light{ color:var(--it-navy) !important; }

.single .entry-content .it-faq summary,
.page .entry-content .it-faq summary{ color:var(--it-navy) !important; }

.single .entry-content ul.it-trust li,
.page .entry-content ul.it-trust li{ list-style:none; margin-left:0; padding-left:0; }
.single .entry-content ul.it-trust,
.page .entry-content ul.it-trust{ padding-left:0; }
