/* =========================================================
   Energierevolution – Premium Stylesheet
   Farben: Weiß, Blau, Orange
   ========================================================= */

:root {
  --blue-900: #001E3C;
  --blue-800: #002B57;
  --blue-700: #003D7A;
  --blue-600: #0356A8;
  --blue-500: #1B6CC9;
  --blue-100: #E6F0FA;
  --orange-600: #E67E00;
  --orange-500: #F39200;
  --orange-400: #FFA830;
  --orange-100: #FFEFD9;
  --white: #FFFFFF;
  --off-white: #F7FAFD;
  --text-dark: #0B1A2E;
  --text-muted: #54637A;
  --line: rgba(0, 61, 122, 0.10);
  --shadow-sm: 0 4px 12px rgba(0, 61, 122, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 61, 122, 0.10);
  --shadow-lg: 0 25px 60px rgba(0, 61, 122, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1200px;
  --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange-500);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* ==============================  HEADER  ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--blue-800);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-700), var(--orange-500));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--orange-500);
  transition: width var(--transition);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  background: var(--blue-700);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--orange-500);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--off-white);
  color: var(--blue-800);
  align-items: center;
  justify-content: center;
}

/* ==============================  HERO  ============================== */
.hero {
  position: relative;
  padding: 6rem 0 7rem;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 110% -10%, rgba(243, 146, 0, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(3, 86, 168, 0.20), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F7FD 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(243, 146, 0, 0.12);
  color: var(--orange-600);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.25);
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--blue-900);
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  transition: all var(--transition);
  text-align: center;
  white-space: normal;
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 61, 122, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 61, 122, 0.36);
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(243, 146, 0, 0.32);
}

.btn-accent:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(243, 146, 0, 0.42);
}

.btn-ghost {
  background: var(--white);
  color: var(--blue-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  color: var(--orange-600);
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.15rem 2rem;
  font-size: 1.05rem;
}

/* Hero Visual – Dashboard Mockup */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.dashboard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.dashboard::before {
  content: '';
  position: absolute;
  inset: -20px -20px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.dashboard::after {
  content: '';
  position: absolute;
  inset: auto auto -30px -30px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(27, 108, 201, 0.25), transparent 70%);
  filter: blur(24px);
  z-index: -1;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.dash-head-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 0.95rem;
}

.dash-head-title .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
  border-radius: 10px;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(38, 175, 95, 0.12);
  color: #1B7A45;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-pill .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26AF5F;
  box-shadow: 0 0 0 4px rgba(38, 175, 95, 0.20);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(38, 175, 95, 0.20); }
  50% { box-shadow: 0 0 0 8px rgba(38, 175, 95, 0.10); }
}

.dash-balance {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.dash-balance .label { font-size: 0.85rem; color: var(--text-muted); }
.dash-balance .amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}
.dash-balance .delta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1B7A45;
  background: rgba(38, 175, 95, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-left: auto;
}

.dash-chart {
  margin-top: 1rem;
  height: 60px;
  position: relative;
}

.dash-rows {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.9rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.dash-row:hover { transform: translateX(4px); }

.dash-row .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dash-row .ico.orange { background: var(--orange-100); color: var(--orange-600); }
.dash-row .ico.green { background: rgba(38, 175, 95, 0.14); color: #1B7A45; }

.dash-row-text {
  flex: 1;
  min-width: 0;
}

.dash-row-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--blue-900);
  font-weight: 600;
}

.dash-row-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dash-row .val {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-900);
  white-space: nowrap;
}

.dash-row .val.positive { color: #1B7A45; }
.dash-row .val.cashback { color: var(--orange-600); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: -0.02em;
}

.stat .num .plus { color: var(--orange-500); }
.stat .lbl { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ==============================  SECTIONS  ============================== */
.section {
  padding: 6rem 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--blue-900);
  margin-top: 1rem;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 146, 0, 0.30);
}

.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--white));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue-700);
  margin-bottom: 1.6rem;
}

.feature-icon.orange {
  background: linear-gradient(135deg, var(--orange-100), var(--white));
  color: var(--orange-600);
}

.feature h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature .feature-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature .feature-tag.orange {
  background: var(--orange-100);
  color: var(--orange-600);
}

/* ==============================  HIGHLIGHT BAND  ============================== */
.band {
  position: relative;
  margin: 3rem auto;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: var(--white);
  overflow: hidden;
}

.band::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.45), transparent 60%);
  filter: blur(40px);
}

.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.band h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 520px;
}

.band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.band-actions .btn-accent { box-shadow: 0 12px 30px rgba(243, 146, 0, 0.5); }
.band-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.band-actions .btn-ghost:hover {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}

/* ==============================  CONTACT PAGE  ============================== */
.contact-hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(243, 146, 0, 0.15), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F7FD 100%);
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-900);
  margin-top: 1rem;
}

.contact-hero p {
  margin: 1.2rem auto 0;
  max-width: 620px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 146, 0, 0.30);
}

.avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--orange-100) 100%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow: hidden;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}

.contact-card .role {
  color: var(--orange-600);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.contact-card .tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.7rem 1.3rem;
  background: var(--blue-100);
  color: var(--blue-800);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
}

.contact-card .tel:hover {
  background: var(--blue-700);
  color: var(--white);
}

.qr-wrap {
  margin-top: 1.6rem;
  display: inline-block;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.qr-wrap img {
  width: 140px;
  height: 140px;
  display: block;
}

.qr-caption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==============================  FORM  ============================== */
.form-section {
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.form-card .lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-900);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  background: var(--off-white);
  color: var(--text-dark);
  transition: all var(--transition);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--orange-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.15);
}

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

form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: center;
}

.success-msg {
  display: none;
  padding: 1.2rem 1.4rem;
  background: rgba(38, 175, 95, 0.10);
  border: 1px solid rgba(38, 175, 95, 0.35);
  color: #1B7A45;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-top: 1rem;
}

.success-msg.visible { display: block; animation: fadeIn 0.4s ease; }

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

/* ==============================  FOOTER  ============================== */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.footer-grid p,
.footer-grid li {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-grid ul { list-style: none; }

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-grid a:hover { color: var(--orange-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==============================  ANIMATIONS  ============================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================  RESPONSIVE  ============================== */
@media (max-width: 960px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 460px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .features { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-cards,
  .contact-cards[style] { grid-template-columns: 1fr 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2.6rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .hero { padding: 3rem 0 4rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 1.6rem; }
  .feature { padding: 1.8rem; }
  .band { padding: 2.2rem 1.4rem; border-radius: var(--radius-md); }
  .band-inner { gap: 1.6rem; }
  .band-actions { width: 100%; }
  .band-actions .btn { width: 100%; }
  .form-card { padding: 1.8rem; }
  form .grid-2 { grid-template-columns: 1fr; }
  .contact-cards,
  .contact-cards[style] { grid-template-columns: 1fr !important; }
  .contact-card { padding: 1.8rem; }
  .contact-card[style] { padding: 1.4rem !important; }
  .avatar { width: 130px; height: 130px; font-size: 2.4rem; }
  .dashboard { padding: 1.4rem; }
  .dash-balance .amount { font-size: 1.8rem; }
  .dash-row { padding: 0.6rem 0.8rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 0.85rem 1.2rem; font-size: 0.95rem; }
  .btn-large { padding: 1rem 1.4rem; font-size: 0.98rem; }
  .qr-wrap img { width: 130px; height: 130px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 1.6rem); }
  .hero h1 { font-size: 2rem; }
  .btn-large { padding: 0.95rem 1rem; font-size: 0.92rem; }
}

/* Mobile nav drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 30, 60, 0.92);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  text-align: center;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

.mobile-menu a:hover { color: var(--orange-400); }

.mobile-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  display: grid;
  place-items: center;
}

.error-msg {
  display: none;
  padding: 1rem 1.2rem;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #B02638;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.error-msg.visible { display: block; animation: fadeIn 0.4s ease; }

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinner 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes spinner { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }
