/*
Theme Name:   BBA NXL Child
Theme URI:    https://bbanxl.de
Description:  BBA NXL Rechnungswesen & Compliance GmbH — Child Theme für Hello Elementor
Author:       NAR PROJECT
Author URI:   https://narproject.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  bbanxl-child
*/

/* ============================================================
   CSS VARIABLES — BBA NXL BRAND
   ============================================================ */
:root {
  --navy:         #0f1c2e;
  --navy-2:       #162436;
  --navy-3:       #1e3248;
  --green:        #1a9e72;
  --green-light:  #22c68e;
  --green-dim:    rgba(26,158,114,0.12);
  --green-border: rgba(26,158,114,0.3);
  --white:        #ffffff;
  --off-white:    #f7f8f6;
  --gray-100:     #eef0ec;
  --gray-200:     #d8dbd4;
  --gray-400:     #8e9488;
  --gray-600:     #4a5044;
  --text-primary:   #0f1c2e;
  --text-secondary: #4a5044;
  --text-muted:     #8e9488;
  --border:         rgba(15,28,46,0.1);
  --border-strong:  rgba(15,28,46,0.2);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-sans:    'DM Sans', sans-serif;
  --shadow-sm:  0 1px 3px rgba(15,28,46,0.08);
  --shadow-md:  0 4px 16px rgba(15,28,46,0.1);
  --shadow-lg:  0 12px 40px rgba(15,28,46,0.14);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header,
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,28,46,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.nav-inner,
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo a,
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--green-light);
}

.nav-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav Links */
.main-navigation .nav-links,
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-link,
.nav-link {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.main-navigation .nav-link:hover,
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.lang-btn {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
}

.lang-btn.active,
.lang-btn:focus {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

/* CTA Button in Nav */
.nav-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--green);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  color: var(--white);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.elementor-button.btn-primary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--white) !important;
  background: var(--green);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  color: var(--white) !important;
}

.btn-ghost {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 172px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,158,114,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,158,114,0.3), transparent);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 0.5px solid var(--green-border);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-tag-text {
  font-size: 12px;
  color: var(--green-light);
  letter-spacing: 0.04em;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-h1 em {
  font-style: italic;
  color: var(--green-light);
}

.hero-p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 11px;
  color: var(--green-light);
  background: rgba(26,158,114,0.10);
  border: 0.5px solid rgba(26,158,114,0.25);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* Hero Card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.hero-card-title {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--green-light);
  font-weight: 700;
}

.hero-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero-langs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.hero-lang-pill {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.hero-lang-pill.de { background: rgba(0,0,205,0.2); color: #7eb3ff; border: 0.5px solid rgba(100,149,237,0.3); }
.hero-lang-pill.tr { background: rgba(205,0,0,0.15); color: #ff9090; border: 0.5px solid rgba(205,0,0,0.25); }
.hero-lang-pill.en { background: rgba(26,158,114,0.12); color: var(--green-light); border: 0.5px solid var(--green-border); }

.hero-card-cta {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-card-cta:hover {
  background: var(--green-light);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy-2);
  border-top: 0.5px solid rgba(26,158,114,0.2);
  border-bottom: 0.5px solid rgba(26,158,114,0.2);
  padding: 14px 32px;
  overflow: hidden;
}

.trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
  animation: scrollTrust 30s linear infinite;
  white-space: nowrap;
}

@keyframes scrollTrust {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS — GENERIC
   ============================================================ */
.section {
  padding: 80px 32px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card.featured {
  background: var(--navy);
  border-color: rgba(26,158,114,0.3);
  color: var(--white);
}

.svc-icon {
  width: 40px; height: 40px;
  background: var(--green-dim);
  border: 0.5px solid var(--green-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-icon svg {
  width: 18px; height: 18px;
  stroke: var(--green);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card.featured .svc-icon {
  background: rgba(26,158,114,0.2);
}

.svc-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-card.featured .svc-title {
  color: var(--white);
}

.svc-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-card.featured .svc-desc {
  color: rgba(255,255,255,0.55);
}

.svc-link {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   INSOLVENZ SECTION
   ============================================================ */
.insolvenz-section {
  background: var(--navy);
  padding: 80px 32px;
}

.insolvenz-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.insolvenz-label {
  font-size: 11px;
  color: var(--green-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.insolvenz-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.insolvenz-p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 12px;
}

.insolvenz-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 24px;
}

.insolvenz-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.insolvenz-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.insolvenz-item:last-child {
  border-bottom: none;
}

.insolvenz-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-light);
  opacity: 0.4;
  min-width: 32px;
  font-weight: 700;
}

.insolvenz-item-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}

.insolvenz-item-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ============================================================
   INTERNATIONAL SECTION
   ============================================================ */
.intl-section {
  background: var(--off-white);
  padding: 80px 32px;
}

.intl-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.intl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.intl-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.intl-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.intl-card-flag {
  font-size: 32px;
  margin-bottom: 16px;
}

.intl-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.intl-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SOFTWARE / SAP SECTION
   ============================================================ */
.software-section {
  background: var(--navy);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.software-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,158,114,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.software-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.software-header {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.sap-badge {
  display: inline-block;
  font-size: 11px;
  color: var(--green-light);
  background: rgba(26,158,114,0.12);
  border: 0.5px solid rgba(26,158,114,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.software-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.software-title em {
  font-style: italic;
  color: var(--green-light);
}

.software-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}

.software-stats {
  display: flex;
  gap: 24px;
}

.sw-stat {
  text-align: left;
}

.sw-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-light);
  font-weight: 700;
}

.sw-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.sap-highlight-box {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(26,158,114,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sap-highlight-title {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sap-module-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sap-module {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

/* Software cards grid */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sw-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-card:hover {
  border-color: rgba(26,158,114,0.4);
  background: rgba(26,158,114,0.06);
  transform: translateY(-3px);
  color: var(--white);
}

.sw-card.featured {
  background: rgba(26,158,114,0.12);
  border-color: rgba(26,158,114,0.3);
}

.sw-icon {
  width: 40px; height: 40px;
  background: rgba(26,158,114,0.12);
  border: 0.5px solid rgba(26,158,114,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-icon svg {
  width: 18px; height: 18px;
  stroke: var(--green-light);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sw-card-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.sw-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  flex: 1;
}

.sw-tag {
  font-size: 10px;
  color: var(--green-light);
  background: rgba(26,158,114,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-section {
  background: var(--off-white);
  padding: 80px 32px;
}

.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 60px;
  align-items: start;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
}

.contact-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
}

.contact-step:last-child {
  border-bottom: none;
}

.step-num {
  width: 28px; height: 28px;
  background: var(--green-dim);
  border: 0.5px solid var(--green-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info {
  margin-top: 24px;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-info-title {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-info-item svg {
  width: 16px; height: 16px;
  stroke: var(--green);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

/* Form */
.form-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea,
.wpcf7-form-control,
.wpforms-field input,
.wpforms-field select,
.wpforms-field textarea {
  width: 100%;
  background: var(--gray-100);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,158,114,0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit,
.wpforms-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 16px;
}

.form-submit:hover,
.wpforms-submit:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.form-privacy {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  background: var(--white);
  padding: 80px 32px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  background: var(--off-white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}

.team-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 64px; height: 64px;
  background: var(--navy);
  border: 2px solid rgba(26,158,114,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green-light);
  font-weight: 700;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-langs {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-lang {
  font-size: 10px;
  color: var(--green);
  background: var(--green-dim);
  border: 0.5px solid var(--green-border);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
  background: var(--off-white);
  padding: 80px 32px;
}

.news-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 40px;
}

.news-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.news-card-img {
  height: 140px;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card.featured .news-card-img {
  height: 180px;
}

.news-card-img-icon svg {
  width: 40px; height: 40px;
  stroke: rgba(26,158,114,0.5);
  stroke-width: 1;
  fill: none;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.news-category {
  font-size: 11px;
  background: var(--green-dim);
  color: var(--green);
  padding: 3px 10px;
  border-radius: 20px;
  border: 0.5px solid var(--green-border);
}

.news-date {
  font-size: 11px;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-read-more {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  margin-top: auto;
}

/* Partnership Banner */
.news-partnership-banner {
  background: var(--navy);
  border: 0.5px solid rgba(26,158,114,0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.news-pb-icon {
  width: 48px; height: 48px;
  background: rgba(26,158,114,0.12);
  border: 0.5px solid rgba(26,158,114,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-pb-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-light);
  stroke-width: 1.5;
  fill: none;
}

.news-pb-label {
  font-size: 11px;
  color: var(--green-light);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-pb-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}

.news-pb-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-pb-date {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--white);
  padding: 80px 32px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
.footer {
  background: var(--navy);
  padding: 60px 32px 32px;
  border-top: 0.5px solid rgba(26,158,114,0.2);
}

.footer-top {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin: 16px 0;
  max-width: 260px;
}

.footer-col-title {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact-item {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--green-light);
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 28px; height: 28px;
  fill: var(--white);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   POLYLANG LANGUAGE SWITCHER (overrides)
   ============================================================ */
.pll-parent-menu-item > a,
.lang-item a {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.45) !important;
  padding: 4px 9px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
}

.lang-item.current-lang a {
  background: rgba(255,255,255,0.14) !important;
  color: var(--white) !important;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-card           { display: none; }
  .hero-h1             { font-size: 32px; }
  .services-grid       { grid-template-columns: 1fr 1fr; }
  .insolvenz-inner     { grid-template-columns: 1fr; }
  .intl-grid           { grid-template-columns: 1fr; }
  .software-header     { grid-template-columns: 1fr; }
  .software-grid       { grid-template-columns: 1fr 1fr; }
  .contact-inner       { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: 1fr 1fr; }
  .news-grid           { grid-template-columns: 1fr; }
  .footer-top          { grid-template-columns: 1fr 1fr; }
  .nav-links           { display: none; }
  .nav-toggle          { display: flex; }
  .section-title       { font-size: 26px; }
}

@media (max-width: 600px) {
  .hero                { padding: 140px 20px 60px; }
  .section             { padding: 60px 20px; }
  .services-grid       { grid-template-columns: 1fr; }
  .software-grid       { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: 1fr 1fr; }
  .footer-top          { grid-template-columns: 1fr; }
  .form-grid           { grid-template-columns: 1fr; }
  .form-card           { padding: 24px; }
}
