/* Newoo Energy — design system
 * German minimalist business style. Self-contained (no framework).
 * Palette: #FFFFFF bg / #102A43 headings / #536271 body / #147D64 accent.
 */

:root {
  --bg: #FFFFFF;
  --ink: #102A43;
  --ink-2: #1F3A55;
  --slate: #536271;
  --slate-muted: #7A8A9B;
  --brand: #147D64;
  --brand-dark: #0E6350;
  --brand-deep: #0A4F40;
  --brand-tint: #EAF4F1;
  --line: #E5EBF1;
  --line-strong: #D3DCE5;
  --focus: #147D64;

  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.05);
  --shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 14px 40px rgba(16, 42, 67, 0.12);

  --container: 1200px;
  --font: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 3.5rem); } /* 40–56px */
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }   /* 28–40px */
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }   /* 20–24px */

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0px;
}

.section {
  padding: 84px 0;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

/* ------------------------------------------------------------------ *
 * Header / navigation
 * ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-topline {
  background: #102a43;
  color: #fff;
  font-size: 13px;
}

.header-topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.header-topline-text {
  color: #fff;
}

.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  border-radius: 3px;
}

.flag-icon {
  width: 24px;
  height: 16px;
  display: block;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 180px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link.is-active {
  color: var(--ink);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.main-nav .nav-link {
  font-size: 21px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s var(--ease);
}
.lang-btn:hover {
  color: var(--ink);
}
.lang-sep {
  color: var(--line-strong);
  font-size: 13px;
  user-select: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle .icon-bars {
  display: block;
  width: 18px;
  height: 14px;
  position: relative;
}
.menu-toggle .icon-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle .icon-bars span:nth-child(1) { top: 0; }
.menu-toggle .icon-bars span:nth-child(2) { top: 6px; }
.menu-toggle .icon-bars span:nth-child(3) { top: 12px; }
.menu-toggle.is-open .icon-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .icon-bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .icon-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav .nav-link {
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--brand-tint) 0%, rgba(234, 244, 241, 0) 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 {
  max-width: 16ch;
}

.hero-intro {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-media {
  display: flex;
  justify-content: center;
}
.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ------------------------------------------------------------------ *
 * Banner carousel
 * ------------------------------------------------------------------ */

.banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.banner-viewport {
  overflow: hidden;
}

.banner-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s var(--ease);
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(10, 25, 40, 0.88) 0%,
    rgba(10, 25, 40, 0.62) 45%,
    rgba(10, 25, 40, 0.25) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  padding-top: 84px;
  padding-bottom: 84px;
}

.banner-kicker {
  color: #A7E0D2;
  font-size: 18px;
  margin-bottom: 14px;
}

.banner-title {
  color: #FFFFFF;
  max-width: 40ch;
}

.banner-sub {
  margin-top: 22px;
  max-width: 36rem;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 58px;
}

.banner .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}
.banner .btn-outline:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.banner-nav {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
}

.banner-dots {
  display: inline-flex;
  gap: 10px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.banner-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.banner-dot.is-active {
  background: #FFFFFF;
  transform: scale(1.25);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 25, 40, 0.35);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.banner-arrow:hover {
  background: rgba(10, 25, 40, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
}
.banner-arrow-prev { left: 24px; }
.banner-arrow-next { right: 24px; }

/* ------------------------------------------------------------------ *
 * Cards
 * ------------------------------------------------------------------ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.card-media {
  height: 216px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.card-body h3 {
  color: var(--ink);
}

.card-body p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.card-cta svg {
  transition: transform 0.3s var(--ease);
}
.card:hover .card-cta svg {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ *
 * About
 * ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-body p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------ *
 * Process
 * ------------------------------------------------------------------ */

.process {
  background: #F7FAFB;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 16px;
}

.step h3 {
  margin-top: 18px;
  font-size: 18px;
}

.step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ *
 * Closing CTA
 * ------------------------------------------------------------------ */

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #D6E2EC;
  border-radius: var(--radius-xl);
  padding: 64px;
}
.cta-panel h2 {
  color: #fff;
  max-width: 22ch;
}
.cta-panel p {
  margin-top: 18px;
  max-width: 44rem;
  font-size: 17px;
  color: #C3D1DE;
}
.cta-panel .btn {
  margin-top: 32px;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: #B9C7D4;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand {
  color: #fff;
}
.footer-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 30rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #B9C7D4;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.footer-contact svg {
  flex: none;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 14px;
  color: #8FA2B4;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ *
 * Floating contact actions
 * ------------------------------------------------------------------ */

.float-actions {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.float-btn:hover {
  transform: translateY(-2px);
  color: var(--brand);
  border-color: var(--brand);
}
.float-btn svg {
  width: 20px;
  height: 20px;
}
.float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.float-tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 12px;
}
.float-btn:hover .float-tip,
.float-tip:hover {
  opacity: 1;
  pointer-events: auto;
}
.float-qr {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.float-btn:hover .float-qr {
  opacity: 1;
  transform: translateY(0);
}
.float-qr img {
  width: 100%;
  border-radius: 4px;
}
.float-qr span {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--slate);
  margin-top: 6px;
}

/* ------------------------------------------------------------------ *
 * Solutions page — anchor nav
 * ------------------------------------------------------------------ */

.page-head {
  background: var(--brand-tint);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}
.page-head h1 {
  max-width: 22ch;
}
.page-head .lead {
  margin-top: 20px;
  max-width: 46rem;
  font-size: 18px;
  line-height: 1.7;
}

.anchor-nav {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.anchor-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.anchor-nav .anchor-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-right: 8px;
}
.anchor-link {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.anchor-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* Business blocks */
.business-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.business-block:nth-of-type(even) {
  background: #FBFCFD;
}
.block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.block-body h2 {
  margin-bottom: 20px;
}
.block-body .lead {
  font-size: 17px;
  line-height: 1.75;
}
.block-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.meta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.meta-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.meta-card p {
  font-size: 15px;
  line-height: 1.65;
}
.block-cta {
  margin-top: 28px;
}

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */

.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.faq-trigger:hover {
  color: var(--brand);
}
.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-icon::before {
  left: 3px;
  right: 3px;
  top: 11px;
  height: 2px;
}
.faq-icon::after {
  top: 3px;
  bottom: 3px;
  left: 11px;
  width: 2px;
  transition: opacity 0.3s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-item.open .faq-icon::after {
  opacity: 0;
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-answer p {
  padding: 0 4px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
}

/* ------------------------------------------------------------------ *
 * Enquiry form
 * ------------------------------------------------------------------ */

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 48px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin-top: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field .req {
  color: var(--brand);
}
.field .optional {
  font-weight: 400;
  color: var(--slate-muted);
  font-size: 13px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-muted);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 125, 100, 0.15);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #C0392B;
}
.form-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--slate-muted);
  line-height: 1.6;
}
.form-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.5;
}
.form-status.success {
  background: var(--brand-tint);
  color: var(--brand-deep);
  border: 1px solid rgba(20, 125, 100, 0.25);
}
.form-status.error {
  background: #FBECEA;
  color: #8A2F22;
  border: 1px solid rgba(192, 57, 43, 0.25);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ------------------------------------------------------------------ *
 * Contact page
 * ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 14px;
}

.contact-info .lead {
  color: var(--slate);
  margin-bottom: 28px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: #fff;
}

.contact-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-bottom: 6px;
}

.contact-card a,
.contact-card p {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--brand);
}

/* ------------------------------------------------------------------ *
 * Legal pages (Impressum / Privacy)
 * ------------------------------------------------------------------ */

.legal-body {
  max-width: 760px;
}
.legal-body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 22px;
}
.legal-body p {
  margin-bottom: 14px;
  line-height: 1.75;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}
.legal-table th {
  width: 220px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ *
 * Reveal animation (subtle)
 * ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

/* Tablet */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero-media { display: none; }

  .banner-slide { min-height: 440px; }
  .banner-content { padding-top: 64px; padding-bottom: 64px; }

  .cards-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .block-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }

  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

  .cta-panel { padding: 40px 24px; }
  .form-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .float-actions { right: 14px; bottom: 80px; }
  .float-btn { width: 44px; height: 44px; }

  .anchor-nav-inner { gap: 6px; }
  .anchor-link { padding: 7px 12px; font-size: 13px; }
  .legal-table th { width: 140px; }

  .banner-slide { min-height: 400px; }
  .banner-content { padding-top: 56px; padding-bottom: 88px; }
  .banner-sub { font-size: 16px; }
  .banner-arrow { width: 40px; height: 40px; }
  .banner-arrow-prev { left: 12px; }
  .banner-arrow-next { right: 12px; }
}

/* Very small (360px) */
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .form-actions { flex-direction: column; align-items: stretch; }
}
