/*
Theme Name: FTEC Global CTA Stable
Theme URI: https://ftec-global.com/
Author: FTEC Global
Description: Stabiles FTEC Theme mit CTA-Block auf der Startseite und allen bisherigen Korrekturen.
Version: 2.0.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: ftec-global-cta-stable
*/

:root {
  --ftec-green: #22b12f;
  --ftec-teal: #008b95;
  --ftec-blue: #0052b8;
  --ftec-navy: #07142f;
  --text: #111827;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --gradient: linear-gradient(90deg, var(--ftec-green), var(--ftec-teal), var(--ftec-blue));
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
.admin-bar .site-header { top: 32px; }
.nav-wrap {
  min-height: 92px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.ftec-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}
.logo-word {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 0.85;
  font-size: 46px;
}
.logo-ft { color: var(--ftec-teal); }
.logo-ec {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-globe {
  position: absolute;
  left: 111px;
  top: 10px;
  width: 29px;
  height: 29px;
  border-radius: 999px;
  border: 3px solid var(--ftec-green);
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  color: var(--ftec-teal);
  font-size: 17px;
  letter-spacing: 0;
}
.logo-sub {
  border-left: 1px solid var(--border);
  padding-left: 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ftec-blue);
  letter-spacing: 0.04em;
}
.logo-light .logo-ft,
.logo-light .logo-ec,
.logo-light .logo-sub {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  border-color: rgba(255,255,255,0.3);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
}
.desktop-nav a:not(.btn-primary) {
  position: relative;
  transition: color 0.2s ease;
}
.desktop-nav a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--gradient);
  transition: width 0.2s ease;
}
.desktop-nav a:not(.btn-primary):hover { color: var(--ftec-blue); }
.desktop-nav a:not(.btn-primary):hover::after { width: 100%; }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,82,184,0.22);
}
.btn-secondary {
  background: #fff;
  color: var(--ftec-blue);
  border: 1px solid rgba(0,82,184,0.35);
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }

.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  padding: 10px 12px;
  font-size: 22px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 18px 20px 24px;
  background: #fff;
}
.mobile-nav.open { display: grid; gap: 16px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(34,177,47,0.13), transparent 32%),
    radial-gradient(circle at top right, rgba(0,82,184,0.18), transparent 34%),
    linear-gradient(135deg, #fff, #f8fafc 50%, #eef7ff);
  padding: 90px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 90px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(0,82,184,0.18);
  filter: blur(70px);
}
.hero::after {
  content: "";
  position: absolute;
  left: 60px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(34,177,47,0.13);
  filter: blur(80px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(34,177,47,0.15);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--ftec-navy);
  font-weight: 950;
  max-width: 860px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 28px;
  max-width: 650px;
  font-size: 18px;
  color: #475569;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tag-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}

.globe-stage { position: relative; min-height: 520px; }
.globe {
  position: absolute;
  right: 0;
  top: 0;
  width: min(490px, 88vw);
  height: min(490px, 88vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(34,177,47,0.42), rgba(0,139,149,0.30) 33%, rgba(0,82,184,0.72) 62%, rgba(7,20,47,0.96) 100%);
  box-shadow: 0 28px 65px rgba(0,82,184,0.22);
  overflow: hidden;
}
.globe::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255,255,255,0.17) 19%, transparent 20% 37%, rgba(255,255,255,0.12) 38%, transparent 39% 100%),
    repeating-linear-gradient(25deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(105deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 36px);
}
.globe::after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 70px rgba(255,255,255,0.015);
}
.globe-dot {
  position: absolute;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 35px 12px rgba(255,255,255,0.65);
}
.dot-one { left: 130px; top: 120px; width: 8px; height: 8px; }
.dot-two { right: 118px; bottom: 135px; width: 9px; height: 9px; background: #d1fae5; box-shadow: 0 0 30px 10px rgba(34,177,47,0.55); }
.globe-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  min-width: 205px;
}
.badge-1 { top: 40px; left: 20px; }
.badge-2 { top: 160px; left: -5px; }
.badge-3 { top: 280px; left: 22px; }
.badge-4 { top: 400px; left: 76px; }
.badge-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f8fafc;
  font-size: 23px;
}
.green { color: var(--ftec-green); }
.teal { color: var(--ftec-teal); }
.blue { color: var(--ftec-blue); }
.globe-badge strong { display: block; color: var(--ftec-navy); font-size: 14px; line-height: 1.1; }
.globe-badge span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 2px; }

section { scroll-margin-top: 105px; }
.section { padding: 100px 0; }
.section-label {
  margin-bottom: 12px;
  color: var(--ftec-green);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 950;
}
.section-title {
  color: var(--ftec-navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 950;
  max-width: 780px;
}
.section-copy {
  margin-top: 20px;
  color: #475569;
  font-size: 18px;
  max-width: 780px;
}
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(0,82,184,0.12);
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 24px;
}
.service-card h3 {
  color: var(--ftec-navy);
  font-size: 21px;
  line-height: 1.18;
  margin-bottom: 14px;
  font-weight: 950;
}
.service-card p { color: #64748b; font-size: 15px; }
.bullet-list {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}
.bullet-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}
.bullet-list li::before {
  content: "✓";
  color: var(--ftec-green);
  font-weight: 950;
}
.icon-green { color: var(--ftec-green); background: linear-gradient(135deg, rgba(34,177,47,0.13), #fff); }
.icon-teal { color: var(--ftec-teal); background: linear-gradient(135deg, rgba(0,139,149,0.13), #fff); }
.icon-blue { color: var(--ftec-blue); background: linear-gradient(135deg, rgba(0,82,184,0.13), #fff); }
.icon-gradient { color: var(--ftec-blue); background: linear-gradient(135deg, rgba(34,177,47,0.13), rgba(0,139,149,0.10), rgba(0,82,184,0.13)); }

.migration {
  position: relative;
  overflow: hidden;
  background: var(--ftec-navy);
  color: #fff;
  padding: 105px 0;
}
.migration::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(0,82,184,0.35);
  filter: blur(75px);
}
.migration::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(34,177,47,0.22);
  filter: blur(75px);
}
.migration .container { position: relative; z-index: 1; }
.migration-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  align-items: start;
}
.migration .section-label { color: #bbf7d0; }
.migration .section-title { color: #fff; }
.migration .section-copy { color: #cbd5e1; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.step-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--ftec-blue);
  background: #fff;
  font-size: 24px;
}
.step-number {
  font-size: 32px;
  font-weight: 950;
  color: rgba(255,255,255,0.14);
}
.step-card h3 { font-size: 18px; font-weight: 950; margin-bottom: 8px; }
.step-card p { color: #cbd5e1; font-size: 15px; }
.package-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.package-card {
  border-radius: var(--radius-xl);
  padding: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
}
.package-card.featured {
  background: #fff;
  color: var(--ftec-navy);
  box-shadow: var(--shadow);
}
.package-badge {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.package-card h3 { font-size: 24px; line-height: 1.16; font-weight: 950; margin-bottom: 8px; }
.package-price { color: #bbf7d0; font-weight: 900; }
.featured .package-price { color: var(--ftec-blue); }
.package-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.package-points li {
  list-style: none;
  color: #cbd5e1;
  display: flex;
  gap: 8px;
}
.featured .package-points li { color: #475569; }
.package-points li::before {
  content: "›";
  color: #bbf7d0;
  font-weight: 950;
  font-size: 22px;
  line-height: 1;
}
.featured .package-points li::before { color: var(--ftec-green); }

.support { background: #f8fafc; }
.support-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.support-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 20px 45px rgba(15,23,42,0.08);
}
.support-icon {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-size: 28px;
  margin-bottom: 26px;
}
.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.support-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  font-weight: 850;
  color: #334155;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}
.support-item::before {
  content: "✓";
  color: var(--ftec-green);
  font-weight: 950;
  margin-right: 9px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 54px;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff, #f8fafc);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.why-card h3 { font-size: 20px; color: var(--ftec-navy); font-weight: 950; margin-bottom: 10px; }
.why-card p { color: #64748b; }

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at bottom right, rgba(0,82,184,0.14), transparent 28%),
    radial-gradient(circle at top left, rgba(34,177,47,0.10), transparent 30%),
    linear-gradient(135deg, #f8fafc, #fff 45%, #eef7ff);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.contact-list {
  margin-top: 32px;
  display: grid;
  gap: 15px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0,82,184,0.13);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--ftec-blue);
  box-shadow: 0 0 0 4px rgba(0,82,184,0.08);
}
.full { grid-column: 1 / -1; }

.wp-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at top left, rgba(34,177,47,0.13), transparent 32%),
    radial-gradient(circle at top right, rgba(0,82,184,0.18), transparent 34%),
    linear-gradient(135deg, #fff, #f8fafc 50%, #eef7ff);
}
.wp-page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: var(--ftec-navy);
  font-weight: 950;
  max-width: 900px;
}
.wp-page-hero p {
  margin-top: 22px;
  color: #475569;
  font-size: 18px;
  max-width: 760px;
}
.wp-content {
  padding: 84px 0 100px;
}
.wp-content-card {
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,0.07);
  padding: 38px;
}
.wp-content-card + .wp-content-card { margin-top: 22px; }
.wp-content-card h2 {
  color: var(--ftec-navy);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  font-weight: 950;
}
.wp-content-card h3 {
  color: var(--ftec-navy);
  font-size: 21px;
  margin-top: 26px;
  margin-bottom: 8px;
  font-weight: 950;
}
.wp-content-card p,
.wp-content-card li {
  color: #475569;
  font-size: 16px;
}
.wp-content-card ul { margin-left: 20px; margin-top: 8px; }
.data-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.data-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
}
.data-row strong { color: var(--ftec-navy); font-weight: 950; }
.data-row span { color: #475569; }
.notice {
  border-left: 5px solid var(--ftec-green);
  background: linear-gradient(90deg, rgba(34,177,47,0.08), rgba(0,82,184,0.05));
  border-radius: 18px;
  padding: 18px 20px;
  color: #334155;
  font-weight: 750;
  margin-top: 24px;
}

.site-footer {
  background: linear-gradient(90deg, var(--ftec-teal), var(--ftec-blue), var(--ftec-navy));
  color: rgba(255,255,255,0.82);
  padding: 34px 0;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a:hover { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-grid, .migration-grid, .support-grid, .why-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .globe-stage { min-height: 560px; }
  .globe { right: 50%; transform: translateX(50%); }
  .globe-badge { left: 50%; transform: translateX(-50%); }
  .badge-1 { top: 24px; }
  .badge-2 { top: 145px; }
  .badge-3 { top: 266px; }
  .badge-4 { top: 386px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { height: 76px; }
  .ftec-logo { min-width: auto; }
  .logo-word { font-size: 36px; }
  .logo-globe {
    left: 87px;
    top: 7px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .logo-sub { display: none; }
  .hero { padding: 62px 0 72px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .services-grid, .step-grid, .support-list, .why-cards, .form-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 74px 0; }
  .migration { padding: 78px 0; }
  .service-card, .support-card, .contact-form, .wp-content-card { padding: 24px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .data-row { grid-template-columns: 1fr; gap: 4px; }
}


/* FTEC subpage templates */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background:
    radial-gradient(circle at top left, rgba(34,177,47,0.13), transparent 32%),
    radial-gradient(circle at top right, rgba(0,82,184,0.18), transparent 34%),
    linear-gradient(135deg, #fff, #f8fafc 50%, #eef7ff);
}
.subpage-hero::before {
  content: "";
  position: absolute;
  right: -130px;
  top: 40px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(0,82,184,0.16);
  filter: blur(70px);
}
.subpage-hero .container {
  position: relative;
  z-index: 1;
}
.subpage-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--ftec-navy);
  font-weight: 950;
  max-width: 900px;
}
.subpage-hero p {
  margin-top: 24px;
  color: #475569;
  font-size: 18px;
  max-width: 760px;
}
.subpage-tags {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.subpage-section {
  padding: 92px 0;
}
.subpage-section.light {
  background: #f8fafc;
}
.subpage-section.dark {
  background: var(--ftec-navy);
  color: #fff;
}
.subpage-section.dark .section-title,
.subpage-section.dark h2,
.subpage-section.dark h3 {
  color: #fff;
}
.subpage-section.dark .section-copy,
.subpage-section.dark p {
  color: #cbd5e1;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.detail-grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.05);
}
.subpage-section.dark .detail-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.13);
}
.detail-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.detail-card h3 {
  color: var(--ftec-navy);
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 12px;
  font-weight: 950;
}
.detail-card p {
  color: #64748b;
}
.process-timeline {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}
.process-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.04);
}
.step-count {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  font-weight: 950;
  font-size: 20px;
}
.process-step h3 {
  color: var(--ftec-navy);
  font-size: 21px;
  font-weight: 950;
  margin-bottom: 6px;
}
.process-step p {
  color: #64748b;
}
.cta-band {
  border-radius: 32px;
  padding: 36px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 22px 55px rgba(0,82,184,0.20);
}
.cta-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255,255,255,0.9);
}
.cta-band .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.11);
}
.faq-list {
  margin-top: 38px;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
}
.faq-item h3 {
  color: var(--ftec-navy);
  font-size: 20px;
  margin-bottom: 8px;
}
.faq-item p {
  color: #64748b;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.map-placeholder {
  min-height: 320px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 25% 35%, rgba(34,177,47,0.22), transparent 28%),
    radial-gradient(circle at 70% 60%, rgba(0,82,184,0.25), transparent 28%),
    linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid var(--border);
  box-shadow: 0 15px 38px rgba(15,23,42,0.07);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}
.map-placeholder strong {
  display: block;
  color: var(--ftec-navy);
  font-size: 24px;
  margin-bottom: 8px;
}
.map-placeholder span {
  color: #64748b;
}
@media (max-width: 1050px) {
  .detail-grid, .detail-grid.two, .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .subpage-hero {
    padding: 62px 0 58px;
  }
  .subpage-section {
    padding: 72px 0;
  }
  .process-step {
    grid-template-columns: 1fr;
  }
}


/* FTEC real logo fitting */
.ftec-logo.has-image {
  min-width: 0;
  width: auto;
  max-width: 430px;
  display: inline-flex;
  align-items: center;
}

.ftec-logo.has-image img,
.ftec-logo.has-image .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(430px, 42vw);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-header .ftec-logo.has-image {
  flex-shrink: 0;
}

.site-footer .ftec-logo.has-image {
  background: rgba(255,255,255,0.94);
  padding: 8px 12px;
  border-radius: 16px;
  max-width: 360px;
}

.site-footer .ftec-logo.has-image img,
.site-footer .ftec-logo.has-image .custom-logo {
  max-height: 48px;
  max-width: min(330px, 80vw);
}

@media (max-width: 1050px) {
  .ftec-logo.has-image img,
  .ftec-logo.has-image .custom-logo {
    max-width: min(360px, 62vw);
    max-height: 56px;
  }
}

@media (max-width: 720px) {
  .ftec-logo.has-image img,
  .ftec-logo.has-image .custom-logo {
    max-width: min(260px, 68vw);
    max-height: 44px;
  }

  .site-footer .ftec-logo.has-image img,
  .site-footer .ftec-logo.has-image .custom-logo {
    max-width: min(260px, 78vw);
    max-height: 42px;
  }
}


/* FTEC header/menu refinement v1.4 */
.site-header {
  background: rgba(255,255,255,0.96);
}

.nav-wrap {
  max-width: 100%;
  width: min(100% - 48px, 1920px);
  min-height: 118px;
  padding: 18px 0;
  gap: 32px;
}

.site-header .ftec-logo.has-image {
  flex: 0 0 auto;
  max-width: 520px;
}

.site-header .ftec-logo.has-image img,
.site-header .ftec-logo.has-image .custom-logo {
  max-width: min(520px, 31vw);
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.6vw, 30px);
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
}

.desktop-nav ul,
.desktop-nav li,
.mobile-nav ul,
.mobile-nav li,
.footer-links ul,
.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .menu,
.footer-links .menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.desktop-nav a:not(.btn-primary) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1;
  font-weight: 900;
  color: #334155;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.desktop-nav a:not(.btn-primary)::before,
.desktop-nav li::before {
  content: none !important;
  display: none !important;
}

.desktop-nav .btn-primary {
  margin-left: clamp(6px, 1vw, 16px);
  padding: 17px 30px;
  min-height: 58px;
  font-size: clamp(15px, 1vw, 18px);
  border-radius: 999px;
  flex: 0 0 auto;
}

.desktop-nav a:not(.btn-primary)::after {
  bottom: 0;
}

@media (max-width: 1440px) {
  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(420px, 28vw);
    max-height: 78px;
  }

  .nav-wrap {
    min-height: 104px;
    gap: 24px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav .menu,
  .footer-links .menu {
    gap: 18px;
  }

  .desktop-nav a:not(.btn-primary) {
    font-size: 16px;
  }

  .desktop-nav .btn-primary {
    padding: 15px 24px;
    font-size: 15px;
    min-height: 54px;
  }
}

@media (max-width: 1180px) {
  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(360px, 30vw);
    max-height: 68px;
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav .menu,
  .footer-links .menu {
    gap: 14px;
  }

  .desktop-nav a:not(.btn-primary) {
    font-size: 15px;
  }

  .desktop-nav .btn-primary {
    padding: 14px 20px;
    font-size: 14px;
  }
}

@media (max-width: 1050px) {
  .nav-wrap {
    width: min(100% - 32px, 1200px);
    min-height: 84px;
    padding: 12px 0;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(360px, 68vw);
    max-height: 62px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 78px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(290px, 72vw);
    max-height: 50px;
  }
}


/* FTEC header no-overlap refinement v1.5 */
.site-header {
  background: rgba(255,255,255,0.97);
}

.nav-wrap {
  width: min(100% - 56px, 1920px);
  min-height: 104px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: center;
  column-gap: 34px;
}

.site-header .ftec-logo.has-image {
  width: 100%;
  max-width: 390px;
  min-width: 0;
  overflow: visible;
  justify-content: flex-start;
}

.site-header .ftec-logo.has-image img,
.site-header .ftec-logo.has-image .custom-logo {
  display: block;
  width: 100%;
  max-width: 390px;
  max-height: 74px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  width: 100%;
  min-width: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.15vw, 24px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.15vw, 24px);
  flex-wrap: nowrap;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.desktop-nav ul,
.desktop-nav li,
.desktop-nav .menu,
.desktop-nav .menu li {
  list-style: none !important;
}

.desktop-nav li,
.desktop-nav .menu li {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}

.desktop-nav li::marker,
.desktop-nav .menu li::marker {
  content: "" !important;
  display: none !important;
}

.desktop-nav li::before,
.desktop-nav .menu li::before {
  content: none !important;
  display: none !important;
}

.desktop-nav a:not(.btn-primary) {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: clamp(15px, 0.92vw, 17px);
  line-height: 1;
  font-weight: 900;
  color: #334155;
  letter-spacing: -0.01em;
  white-space: nowrap;
  word-break: keep-all;
}

.desktop-nav .btn-primary {
  flex: 0 0 auto;
  margin-left: clamp(8px, 1vw, 18px);
  padding: 15px 24px;
  min-height: 56px;
  font-size: clamp(15px, 0.92vw, 17px);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1600px) {
  .nav-wrap {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    column-gap: 26px;
  }

  .site-header .ftec-logo.has-image {
    max-width: 340px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: 340px;
    max-height: 66px;
  }

  .desktop-nav,
  .desktop-nav .menu {
    gap: 16px;
  }

  .desktop-nav a:not(.btn-primary) {
    font-size: 15px;
  }

  .desktop-nav .btn-primary {
    padding: 14px 20px;
    min-height: 52px;
    font-size: 15px;
  }
}

@media (max-width: 1350px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-wrap {
    width: min(100% - 36px, 1200px);
    min-height: 86px;
    grid-template-columns: minmax(220px, 360px) auto;
  }

  .site-header .ftec-logo.has-image {
    max-width: 360px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(360px, 68vw);
    max-height: 62px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    width: min(100% - 28px, 1200px);
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }

  .site-header .ftec-logo.has-image {
    max-width: 290px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(290px, 70vw);
    max-height: 48px;
  }
}


/* FTEC desktop menu restore v1.6 */
.nav-wrap {
  width: min(100% - 48px, 1920px);
  min-height: 96px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
}

.site-header .ftec-logo.has-image {
  max-width: 320px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.site-header .ftec-logo.has-image img,
.site-header .ftec-logo.has-image .custom-logo {
  width: 100%;
  max-width: 320px;
  max-height: 62px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex !important;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1vw, 22px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.mobile-toggle {
  display: none !important;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1vw, 22px);
  flex-wrap: nowrap;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.desktop-nav ul,
.desktop-nav li,
.desktop-nav .menu,
.desktop-nav .menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.desktop-nav li::before,
.desktop-nav .menu li::before,
.desktop-nav li::marker,
.desktop-nav .menu li::marker {
  content: none !important;
  display: none !important;
}

.desktop-nav a:not(.btn-primary) {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: clamp(14px, 0.82vw, 16px);
  line-height: 1;
  font-weight: 900;
  color: #334155;
  letter-spacing: -0.01em;
  white-space: nowrap;
  word-break: keep-all;
}

.desktop-nav .btn-primary {
  flex: 0 0 auto;
  margin-left: clamp(6px, 0.8vw, 14px);
  padding: 14px 22px;
  min-height: 52px;
  font-size: clamp(14px, 0.82vw, 16px);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .nav-wrap {
    grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
    column-gap: 22px;
  }

  .site-header .ftec-logo.has-image,
  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: 290px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-height: 56px;
  }

  .desktop-nav,
  .desktop-nav .menu {
    gap: 12px;
  }

  .desktop-nav a:not(.btn-primary) {
    font-size: 14px;
  }

  .desktop-nav .btn-primary {
    padding: 13px 18px;
    min-height: 48px;
    font-size: 14px;
  }
}

/* Desktop navigation should remain visible on normal PC/laptop screens.
   Only switch to burger on real tablet/mobile widths. */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    justify-self: end;
  }

  .nav-wrap {
    width: min(100% - 32px, 1200px);
    min-height: 84px;
    padding: 12px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
  }

  .site-header .ftec-logo.has-image {
    max-width: 360px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(360px, 68vw);
    max-height: 62px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 78px;
  }

  .site-header .ftec-logo.has-image {
    max-width: 290px;
  }

  .site-header .ftec-logo.has-image img,
  .site-header .ftec-logo.has-image .custom-logo {
    max-width: min(290px, 70vw);
    max-height: 48px;
  }
}


/* FTEC Jetpack Forms compatible contact page v1.7 */
.jetpack-contact-form-area {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0,82,184,0.13);
}

.jetpack-contact-form-area .wp-block-jetpack-contact-form,
.jetpack-contact-form-area .contact-form,
.jetpack-contact-form-area form {
  margin: 0;
}

.jetpack-contact-form-area input,
.jetpack-contact-form-area textarea,
.jetpack-contact-form-area select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jetpack-contact-form-area input:focus,
.jetpack-contact-form-area textarea:focus,
.jetpack-contact-form-area select:focus {
  border-color: var(--ftec-blue);
  box-shadow: 0 0 0 4px rgba(0,82,184,0.08);
}

.jetpack-contact-form-area button,
.jetpack-contact-form-area .wp-block-button__link,
.jetpack-contact-form-area input[type="submit"],
.jetpack-contact-form-area .contact-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  padding: 15px 24px !important;
  font-weight: 900 !important;
  border: 0 !important;
  background: var(--gradient) !important;
  color: #fff !important;
  box-shadow: 0 15px 35px rgba(0,82,184,0.22);
  cursor: pointer;
}

.jetpack-form-placeholder {
  border: 2px dashed rgba(0,82,184,0.25);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(34,177,47,0.06), rgba(0,82,184,0.06));
}

.jetpack-form-placeholder h3 {
  color: var(--ftec-navy);
  font-size: 24px;
  margin-bottom: 10px;
}

.jetpack-form-placeholder p {
  color: #64748b;
  margin-bottom: 14px;
}

.front-contact-cta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0,82,184,0.13);
}

.front-contact-cta h3 {
  color: var(--ftec-navy);
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 14px;
  font-weight: 950;
}

.front-contact-cta p {
  color: #64748b;
  margin-bottom: 24px;
}


/* FTEC contact page refinement v1.8 */
.contact-page-grid.contact-page-grid-clean {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.contact-bottom-info {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-bottom-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  font-weight: 900;
  color: #334155;
}

.contact-bottom-card small {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.contact-bottom-card a {
  color: #07142f;
}

.contact-bottom-card .contact-icon {
  flex: 0 0 48px;
}

@media (max-width: 1050px) {
  .contact-page-grid.contact-page-grid-clean {
    grid-template-columns: 1fr;
  }

  .contact-bottom-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-bottom-info {
    margin-top: 24px;
  }

  .contact-bottom-card {
    padding: 16px;
    align-items: flex-start;
  }
}


/* FTEC contact responsive order v1.9 */
.contact-left-info {
  margin-top: 28px;
  display: grid;
  gap: 15px;
}

.contact-left-info .contact-item {
  margin: 0;
}

.contact-bottom-info {
  display: none;
}

/* Desktop: E-Mail und Adresse bleiben links.
   Mobil: E-Mail und Adresse wandern unter das Formular. */
@media (max-width: 1050px) {
  .contact-left-info {
    display: none;
  }

  .contact-bottom-info {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

@media (min-width: 1051px) {
  .contact-page-grid.contact-page-grid-clean {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}


/* FTEC homepage Jetpack form section v1.11 */
.home-contact-left-info {
  margin-top: 32px;
  display: grid;
  gap: 15px;
}
.home-jetpack-form-area {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0,82,184,0.13);
}
.home-jetpack-form-area .wp-block-jetpack-contact-form,
.home-jetpack-form-area .contact-form,
.home-jetpack-form-area form { margin: 0; }
.home-jetpack-form-area input,
.home-jetpack-form-area textarea,
.home-jetpack-form-area select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-jetpack-form-area input:focus,
.home-jetpack-form-area textarea:focus,
.home-jetpack-form-area select:focus {
  border-color: var(--ftec-blue);
  box-shadow: 0 0 0 4px rgba(0,82,184,0.08);
}
.home-jetpack-form-area button,
.home-jetpack-form-area .wp-block-button__link,
.home-jetpack-form-area input[type="submit"],
.home-jetpack-form-area .contact-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  padding: 15px 24px !important;
  font-weight: 900 !important;
  border: 0 !important;
  background: var(--gradient) !important;
  color: #fff !important;
  box-shadow: 0 15px 35px rgba(0,82,184,0.22);
  cursor: pointer;
}
.home-form-placeholder {
  border: 2px dashed rgba(0,82,184,0.25);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(34,177,47,0.06), rgba(0,82,184,0.06));
}
.home-form-placeholder h3 {
  color: var(--ftec-navy);
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 950;
}
.home-form-placeholder p { color: #64748b; margin-bottom: 0; }
@media (max-width: 720px) {
  .home-jetpack-form-area { padding: 22px; }
}


/* FTEC homepage extracted Jetpack form v1.13 */
.home-jetpack-form-area:has(.wp-block-jetpack-contact-form),
.home-jetpack-form-area.has-jetpack-form {
  border-radius: 32px;
  padding: 30px;
  min-height: 220px;
}

.home-jetpack-form-area .wp-block-jetpack-contact-form-container,
.home-jetpack-form-area .wp-block-jetpack-contact-form {
  width: 100%;
}

.home-jetpack-form-area .grunion-field-wrap {
  margin-bottom: 16px;
}

.home-jetpack-form-area label {
  display: block;
  margin-bottom: 7px;
  color: var(--ftec-navy);
  font-weight: 800;
}

@media (max-width: 720px) {
  .home-jetpack-form-area.has-jetpack-form {
    padding: 22px;
  }
}


/* FTEC E4H Migration – featured package card visibility/alignment fix v1.16.4 */
/* Die empfohlene Karte hat weißen Hintergrund; ihre Überschrift muss dunkel sein. */
.package-card.featured h3 {
  color: var(--ftec-navy) !important;
}

/* Gleiche vertikale Textstruktur wie in den äußeren Karten. */
.package-card.featured .package-price {
  color: #64748b !important;
}

/* Badge bleibt oberhalb des Titels, ohne den Inhaltsfluss zu verschieben. */
.package-card.featured .package-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.package-card.featured h3 {
  margin-top: 0;
  margin-bottom: 10px;
}


/* FTEC Über uns – Arbeitsweise-Karten lesbar und sauber ausgerichtet v1.16.5 */
.approach-step,
.process-step,
.working-step,
.workflow-step {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 116px;
}

.approach-step h3,
.process-step h3,
.working-step h3,
.workflow-step h3 {
  color: var(--ftec-navy) !important;
  margin: 0 0 8px !important;
  font-size: clamp(20px, 1.4vw, 25px);
  line-height: 1.2;
  font-weight: 900;
}

.approach-step p,
.process-step p,
.working-step p,
.workflow-step p {
  color: #475569 !important;
  margin: 0 !important;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.55;
}

/* Die im Theme tatsächlich genutzten horizontalen Prozesskarten */
.process-row,
.approach-row,
.workflow-row,
.working-row {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 116px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.process-row h3,
.approach-row h3,
.workflow-row h3,
.working-row h3 {
  color: var(--ftec-navy) !important;
  margin: 0 0 8px !important;
  font-weight: 900;
}

.process-row p,
.approach-row p,
.workflow-row p,
.working-row p {
  color: #475569 !important;
  margin: 0 !important;
  font-size: 17px;
  line-height: 1.5;
}

/* Fallback für die weiße Prozesskarten-Sektion, falls sie generische Card-Klassen nutzt */
.dark-section .step-card:not(.featured),
.dark-section .why-card,
.dark-section .method-card,
.dark-section .process-card {
  align-items: center;
}

.dark-section .step-card h3,
.dark-section .method-card h3,
.dark-section .process-card h3 {
  color: var(--ftec-navy) !important;
}

.dark-section .step-card p,
.dark-section .method-card p,
.dark-section .process-card p {
  color: #475569 !important;
}

/* Spezifischer Arbeitsweise-Bereich auf der Über-uns-Seite */
.about-process-list article,
.about-process-list .process-item,
.work-method-list article,
.work-method-list .process-item {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 116px;
  padding: 24px 26px;
}

.about-process-list article h3,
.work-method-list article h3,
.about-process-list .process-item h3,
.work-method-list .process-item h3 {
  color: var(--ftec-navy) !important;
  margin: 0 0 7px;
}

.about-process-list article p,
.work-method-list article p,
.about-process-list .process-item p,
.work-method-list .process-item p {
  color: #475569 !important;
  margin: 0;
}

@media (max-width: 720px) {
  .approach-step,
  .process-step,
  .working-step,
  .workflow-step,
  .process-row,
  .approach-row,
  .workflow-row,
  .working-row,
  .about-process-list article,
  .work-method-list article {
    gap: 18px;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: flex-start;
  }
}


/* FTEC Impressum – Hero ohne CTA-Buttons und mit direkterem Inhaltsanschluss v1.16.6 */
.ftec-impressum-page .wp-page-hero {
  padding-bottom: 48px;
}

.ftec-impressum-page .wp-content {
  padding-top: 48px;
}

@media (max-width: 720px) {
  .ftec-impressum-page .wp-page-hero {
    padding-bottom: 36px;
  }

  .ftec-impressum-page .wp-content {
    padding-top: 34px;
  }
}


/* FTEC Über uns – Kontakt-CTA am Seitenende v1.16.7 */
.about-contact-cta {
  padding: clamp(62px, 7vw, 92px) 0;
  background: linear-gradient(135deg, rgba(34,177,47,0.06), rgba(0,82,184,0.08));
  border-top: 1px solid var(--border);
}

.about-contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(30px, 4vw, 46px);
  box-shadow: 0 22px 56px rgba(0,82,184,0.10);
}

.about-contact-cta .section-label {
  margin-bottom: 12px;
}

.about-contact-cta h2 {
  margin: 0 0 12px;
  color: var(--ftec-navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.about-contact-cta p {
  margin: 0;
  max-width: 690px;
  color: #475569;
  font-size: 18px;
  line-height: 1.6;
}

.about-contact-cta .btn-primary {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .about-contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* FTEC Impressum – redundante CTA-Zeile vollständig entfernen v1.16.8 */
.ftec-impressum-page .hero-actions:empty,
.ftec-impressum-page .wp-page-actions:empty,
.ftec-impressum-page .page-actions:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ftec-impressum-page .wp-page-hero {
  padding-bottom: 42px !important;
}
.ftec-impressum-page .wp-content {
  padding-top: 42px !important;
}


/* FTEC Impressum – internen Prüfhinweis vollständig entfernen v1.16.10 */
.ftec-impressum-page .legal-note:empty,
.ftec-impressum-page .notice:empty,
.ftec-impressum-page .info-box:empty,
.ftec-impressum-page .legal-hint:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* FTEC Impressum – kompaktere Abstände zwischen Hero und Anbieterkennzeichnung v1.16.11 */
.ftec-impressum-page .wp-page-hero,
.ftec-impressum-page .subpage-hero,
.ftec-impressum-page .page-hero,
.ftec-impressum-page .legal-hero {
  padding-top: clamp(44px, 5vw, 66px) !important;
  padding-bottom: clamp(38px, 4vw, 52px) !important;
  min-height: 0 !important;
}

.ftec-impressum-page .wp-page-hero h1,
.ftec-impressum-page .subpage-hero h1,
.ftec-impressum-page .page-hero h1,
.ftec-impressum-page .legal-hero h1 {
  margin-bottom: 0 !important;
}

.ftec-impressum-page .wp-content,
.ftec-impressum-page .subpage-section,
.ftec-impressum-page .page-content,
.ftec-impressum-page .legal-content {
  padding-top: clamp(28px, 3vw, 42px) !important;
}

.ftec-impressum-page .wp-content-card:first-child,
.ftec-impressum-page .legal-card:first-child,
.ftec-impressum-page .imprint-card:first-child {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .ftec-impressum-page .wp-page-hero,
  .ftec-impressum-page .subpage-hero,
  .ftec-impressum-page .page-hero,
  .ftec-impressum-page .legal-hero {
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }

  .ftec-impressum-page .wp-content,
  .ftec-impressum-page .subpage-section,
  .ftec-impressum-page .page-content,
  .ftec-impressum-page .legal-content {
    padding-top: 22px !important;
  }
}


/* FTEC Unterseiten – einheitliche kompakte Abstände v1.16.12
   Gilt für Leistungen, E4H Migration, Support, Über uns, Kontakt,
   Impressum und Datenschutz. Die Startseite bleibt unverändert. */

/* Einheitlicher Titel-/Hero-Bereich für editorbasierte und feste Unterseiten */
.wp-page-hero,
.subpage-hero {
  padding-top: clamp(48px, 5vw, 66px) !important;
  padding-bottom: clamp(38px, 4vw, 52px) !important;
  min-height: 0 !important;
}

/* Einheitliche Abstände innerhalb des Heros */
.wp-page-hero .section-label,
.subpage-hero .section-label {
  margin-bottom: 16px !important;
}

.wp-page-hero h1,
.subpage-hero h1 {
  margin-top: 0 !important;
}

.wp-page-hero p,
.subpage-hero p {
  margin-top: 18px !important;
}

/* Editorbasierte Seiten: erster Inhaltsbereich folgt kompakter auf den Hero */
.wp-content {
  padding-top: clamp(32px, 3.2vw, 44px) !important;
}

/* Feste Unterseiten wie Kontakt: nur den ersten Abschnitt nach dem Hero kompakter setzen */
.subpage-hero + .subpage-section {
  padding-top: clamp(32px, 3.2vw, 44px) !important;
}

/* Der erste sichtbare Inhaltsblock startet ohne zusätzlichen oberen Versatz */
.wp-content > .container > .wp-content-card:first-child,
.wp-content > .container > article:first-child,
.subpage-hero + .subpage-section > .container > :first-child {
  margin-top: 0 !important;
}

/* Impressum nutzt denselben Standard wie die anderen Unterseiten */
.ftec-impressum-page .wp-page-hero,
.ftec-impressum-page .subpage-hero,
.ftec-impressum-page .page-hero,
.ftec-impressum-page .legal-hero {
  padding-top: clamp(48px, 5vw, 66px) !important;
  padding-bottom: clamp(38px, 4vw, 52px) !important;
}

.ftec-impressum-page .wp-content,
.ftec-impressum-page .subpage-section,
.ftec-impressum-page .page-content,
.ftec-impressum-page .legal-content {
  padding-top: clamp(32px, 3.2vw, 44px) !important;
}

@media (max-width: 720px) {
  .wp-page-hero,
  .subpage-hero,
  .ftec-impressum-page .wp-page-hero,
  .ftec-impressum-page .subpage-hero,
  .ftec-impressum-page .page-hero,
  .ftec-impressum-page .legal-hero {
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }

  .wp-content,
  .subpage-hero + .subpage-section,
  .ftec-impressum-page .wp-content,
  .ftec-impressum-page .subpage-section,
  .ftec-impressum-page .page-content,
  .ftec-impressum-page .legal-content {
    padding-top: 24px !important;
  }

  .wp-page-hero p,
  .subpage-hero p {
    margin-top: 14px !important;
  }
}


/* FTEC Startseite – kompakter Kontakt-CTA statt Formular/Kontaktdaten v1.16.13 */
.home-contact-cta-section .home-contact-cta-grid {
  align-items: center;
}

.home-contact-cta-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(34px, 4vw, 48px);
  box-shadow: 0 24px 64px rgba(0, 82, 184, 0.12);
}

.home-contact-cta-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -105px;
  bottom: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,82,184,0.14), rgba(0,82,184,0));
  pointer-events: none;
}

.home-contact-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.home-contact-cta-card .section-label {
  margin-bottom: 14px;
}

.home-contact-cta-card h3 {
  position: relative;
  margin: 0 0 16px;
  max-width: 520px;
  color: var(--ftec-navy);
  font-size: clamp(29px, 2.5vw, 39px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.home-contact-cta-card p {
  position: relative;
  margin: 0 0 30px;
  max-width: 560px;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.home-contact-cta-card .btn-primary {
  position: relative;
}

@media (max-width: 1050px) {
  .home-contact-cta-section .home-contact-cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-contact-cta-card {
    padding: 28px 22px;
  }

  .home-contact-cta-card p {
    font-size: 16px;
    margin-bottom: 24px;
  }
}


/* FTEC Datenschutz – sichtbarer Editorinhalt im CTA Stable Theme v2.0.2 */
.ftec-datenschutz-page .wp-page-hero {
  padding-top: clamp(48px, 5vw, 66px) !important;
  padding-bottom: clamp(38px, 4vw, 52px) !important;
  min-height: 0 !important;
}
.ftec-datenschutz-page .privacy-content-section {
  padding: clamp(30px, 3vw, 44px) 0 clamp(64px, 7vw, 96px);
}
.ftec-datenschutz-page .privacy-content-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 54px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 22px 58px rgba(0, 82, 184, 0.08);
  color: #475569;
}
.ftec-datenschutz-page .privacy-content-card h1:first-child {
  display: none;
}
.ftec-datenschutz-page .privacy-content-card h2 {
  margin: 40px 0 16px;
  color: var(--ftec-navy);
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.2;
  font-weight: 900;
}
.ftec-datenschutz-page .privacy-content-card h2:first-of-type {
  margin-top: 0;
}
.ftec-datenschutz-page .privacy-content-card h3 {
  margin: 28px 0 12px;
  color: var(--ftec-navy);
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 850;
}
.ftec-datenschutz-page .privacy-content-card p,
.ftec-datenschutz-page .privacy-content-card li {
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}
.ftec-datenschutz-page .privacy-content-card p {
  margin: 0 0 18px;
}
.ftec-datenschutz-page .privacy-content-card ul,
.ftec-datenschutz-page .privacy-content-card ol {
  margin: 0 0 22px;
  padding-left: 25px;
}
.ftec-datenschutz-page .privacy-content-card a {
  color: var(--ftec-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ftec-datenschutz-page .privacy-content-card strong {
  color: var(--ftec-navy);
}
@media (max-width: 720px) {
  .ftec-datenschutz-page .privacy-content-section {
    padding-top: 22px;
    padding-bottom: 54px;
  }
  .ftec-datenschutz-page .privacy-content-card {
    padding: 24px 20px;
    border-radius: 22px;
  }
  .ftec-datenschutz-page .privacy-content-card p,
  .ftec-datenschutz-page .privacy-content-card li {
    font-size: 16px;
  }
}


/* FTEC Datenschutz – robuste Inhaltsdarstellung v2.0.3
   Importierte Seiteninhalte dürfen nicht durch Reveal/alte Seitensektionen verschwinden. */
.ftec-datenschutz-page .privacy-content-card,
.ftec-datenschutz-page .privacy-content-card * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

.ftec-datenschutz-page .privacy-content-card .reveal,
.ftec-datenschutz-page .privacy-content-card .wp-page-hero,
.ftec-datenschutz-page .privacy-content-card .wp-content,
.ftec-datenschutz-page .privacy-content-card .wp-content-card,
.ftec-datenschutz-page .privacy-content-card section,
.ftec-datenschutz-page .privacy-content-card article {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Innerhalb der Datenschutzerklärung keine zweite Hero-/Kartenstruktur aus Altimporten */
.ftec-datenschutz-page .privacy-content-card .wp-page-hero,
.ftec-datenschutz-page .privacy-content-card .wp-content {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
}

.ftec-datenschutz-page .privacy-content-card .wp-content-card {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ftec-datenschutz-page .privacy-content-card h1,
.ftec-datenschutz-page .privacy-content-card h2,
.ftec-datenschutz-page .privacy-content-card h3,
.ftec-datenschutz-page .privacy-content-card h4 {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--ftec-navy) !important;
  -webkit-text-fill-color: var(--ftec-navy) !important;
  background: none !important;
}

.ftec-datenschutz-page .privacy-content-card h1 {
  margin: 0 0 18px !important;
  font-size: clamp(28px, 2.4vw, 38px) !important;
}

.ftec-datenschutz-page .privacy-content-card h2 {
  margin: 38px 0 14px !important;
  font-size: clamp(24px, 2vw, 31px) !important;
}

.ftec-datenschutz-page .privacy-content-card h3 {
  margin: 27px 0 12px !important;
  font-size: clamp(20px, 1.5vw, 24px) !important;
}

.ftec-datenschutz-page .privacy-content-card p,
.ftec-datenschutz-page .privacy-content-card li,
.ftec-datenschutz-page .privacy-content-card span,
.ftec-datenschutz-page .privacy-content-card div {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

.ftec-datenschutz-page .privacy-content-card strong {
  color: var(--ftec-navy) !important;
  -webkit-text-fill-color: var(--ftec-navy) !important;
}

.ftec-datenschutz-page .privacy-content-card a {
  color: var(--ftec-blue) !important;
  -webkit-text-fill-color: var(--ftec-blue) !important;
}
