/* ─── Local fonts ────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/roboto-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/roboto-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/roboto-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/roboto-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ─── Flag icons (local) ─────────────────────────────────────────────────── */
.flag-icon {
  width: 1.2em;
  height: 0.9em;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  display: inline-block;
}

/* CSS variables for colours and spacing */
:root {
  --primary: #0a1f44;
  --primary-dark: #05132b;
  --secondary: #0e3470;
  --accent-blue: #005a8c;
  --accent-green: #025e39;
  --accent: var(--accent-green);
  --accent-red: #9d2f24;
  --light-bg: #ffffff;
  --text-dark: #0a2140;
  --text-light: #ffffff;
  --border-radius: 8px;
  --max-width: 1200px;
  --nav-height: 100px;
  --topbar-height: 32px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Anker-Sprünge unter dem fixierten Header stoppen, damit der
     Abschnitts-Titel nicht verdeckt wird */
  scroll-padding-top: calc(var(--nav-height) + var(--topbar-height) + 12px);
  /* prevent horizontal overflow at root level */
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  /* prevent body from being wider than viewport */
  overflow-x: hidden;
  width: 100%;
}

/* ─── Top contact bar ────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-height);
  background-color: #03192f;
  color: #cfd7e4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  z-index: 1001;
  /* prevent content spilling outside */
  overflow: hidden;
}

.topbar .contact-line {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: nowrap;
}

.topbar a {
  color: #cfd7e4;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ─── Navigation bar ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--primary);
  color: var(--text-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Header logo */
.header-logo {
  height: 60px;
  display: block;
  margin-top: 0.25rem;
  margin-bottom: auto;
  width: auto;
  border-radius: 0;
  filter: none;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: none;
}

/* ─── Nav links ──────────────────────────────────────────────────────────── */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links li a.active {
  color: var(--accent-blue);
  border-bottom: none;
  border-top: 3px solid var(--accent-blue);
}

.nav-links li a:hover {
  color: var(--accent);
}

/* ─── Dropdown submenu (Leistungen) ──────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.85em;
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1100;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu li {
  display: block;
}

.nav-submenu li a {
  display: block;
  color: var(--text-dark);
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
  font-weight: 500;
}

.nav-submenu li a::after {
  content: none;
}

.nav-submenu li a:hover,
.nav-submenu li a:focus-visible {
  color: var(--accent-blue);
  background-color: #f1f5fb;
}

/* ─── Hamburger menu ─────────────────────────────────────────────────────── */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
  /* ensure enough tap target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: var(--text-light);
  transition: all 0.3s;
  display: block;
}

/* ─── Language switcher ──────────────────────────────────────────────────── */
.lang-switcher {
  position: relative;
  margin-left: 1rem;
  flex-shrink: 0;
}

.lang-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-light);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.22);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  list-style: none;
  padding: 0.3rem 0;
  min-width: 140px;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown li button {
  background: none;
  border: none;
  color: var(--text-light);
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.lang-dropdown li button:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── Hero section ───────────────────────────────────────────────────────── */
.hero {
  background-image:
    linear-gradient(rgba(5,19,43,0.45), rgba(10,31,68,0.35)),
    url('img/hero-car.jpg');
  background-size: cover;
  background-position: center 47%;
  color: var(--text-light);
  padding: 6rem 0;
  padding-top: calc(6rem + var(--nav-height) + var(--topbar-height));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hero benefit badges */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
  backdrop-filter: blur(2px);
}

.hero-icon {
  font-size: 1.2rem;
}

.hero-label {
  font-size: 0.85rem;
}

/* CTA list inside hero */
.cta-list {
  list-style: none;
  margin-top: 0.75rem;
  padding-left: 0;
}

.cta-list li {
  font-size: 0.8rem;
  color: #dce7f2;
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.cta-list li::before {
  content: '✔';
  margin-right: 0.5rem;
  color: var(--accent);
}

/* Hero inner two-column layout */
.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 2rem;
}

#hero.section {
  padding-top: 10rem;
}

.hero-left h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero-left p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-car {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  max-width: 480px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* CTA box */
.cta-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  width: 100%;
}

.phone-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.cta-text strong {
  font-size: 1.2rem;
  color: var(--text-light);
}

.cta-text small {
  font-size: 0.85rem;
  color: #dce7f2;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
}


.btn-danger {
  background-color: var(--accent-red);
  color: var(--text-light);
}

.btn-danger:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.faded {
  opacity: 0.5;
  transform: translateY(0);
  transition: opacity 0.6s ease-out;
}

.section-light {
  background-color: var(--light-bg);
}

.section-alt {
  background-color: #f1f5fb;
}

.section-soft {
  background-color: #f7f9fc;
}

.section-contrast {
  background-color: #eaf2f8;
  border-top: 3px solid var(--accent-blue);
}

/* Section headings */
section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}

.section-sub {
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-size: 1rem;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--accent-blue);
  text-decoration: underline;
}

.card-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-blue);
  text-decoration: none;
}

.card-more:hover,
.card-more:focus-visible {
  text-decoration: underline;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
  display: inline-block;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.card-features {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.card-features li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.card-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
}

/* ─── Card sub-benefit grid ──────────────────────────────────────────────── */
.card-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.card-benefit {
  background: #f1f5fb;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}

.card-benefit strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.card-benefit p {
  font-size: 0.76rem;
  color: #5a6a80;
  margin: 0;
  line-height: 1.4;
}

/* ─── Highlights list ────────────────────────────────────────────────────── */
.highlights {
  list-style: none;
  margin-top: 1.5rem;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.highlights li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.4;
}

.highlights li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* ─── About two-column layout ────────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #d0daea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  border: 3px solid #b0c4de;
  flex-shrink: 0;
}

.about-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b0c4de;
  flex-shrink: 0;
}

/* ─── About list ─────────────────────────────────────────────────────────── */
.about-list {
  list-style: none;
  margin-top: 2.5rem;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  font-size: 0.95rem;
}

.about-list li {
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
}

/* ─── Process / Ablauf ───────────────────────────────────────────────────── */
.process-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.process-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.process-step {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-blue);
}

.process-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.process-list li {
  background-color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.process-list li strong {
  color: var(--primary);
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}

.faq details {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  /* prevent long words from causing overflow */
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq summary {
  font-weight: 500;
  cursor: pointer;
  color: var(--primary);
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ─── Contact section ────────────────────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-info a,
.contact-info a:visited {
  color: var(--accent-blue);
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form label {
  font-weight: 500;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  /* ensure inputs never exceed their container */
  width: 100%;
  max-width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

#contact.section {
  padding-bottom: 3rem;
  margin-bottom: 0;
}

.form-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ─── Benefits ───────────────────────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  color: var(--accent);
}

.benefit-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ─── Hero benefit highlight ─────────────────────────────────────────────── */
.hero-benefit-highlight {
  background-color: rgba(0, 143, 86, 0.25);
  border: 1px solid rgba(0, 200, 120, 0.4);
}

/* ─── Review slideshow ───────────────────────────────────────────────────── */
.review-slideshow {
  position: relative;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.review-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.review-stars {
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  font-size: 0.85rem;
  color: #5a6a80;
  font-weight: 500;
}

.review-translated-note {
  display: none;
  font-size: 0.75rem;
  color: #8a9ab0;
  border: 1px solid #d0daea;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  align-self: flex-start;
}

.review-cta-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #5a6a80;
}

.review-cta-note a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ─── Contact response time ──────────────────────────────────────────────── */
.contact-response-time {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: rgba(0, 143, 86, 0.1);
  border-left: 3px solid var(--accent-green);
  padding: 0.4rem 0.75rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* ─── Final CTA section ──────────────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  text-align: center;
}

.cta-final-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final h2 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-final p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-final-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.75rem 0;
  margin-top: 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-info strong {
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #cbd5e0;
}

/* ─── Legal pages ────────────────────────────────────────────────────────── */
.legal-text p {
  margin-bottom: 1.5rem;
}

.legal-text h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* ─── Floating buttons ───────────────────────────────────────────────────── */
.floating-buttons {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1100;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--text-light);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fab-call {
  background-color: var(--accent-blue);
}

.fab-whatsapp {
  background-color: var(--accent-green);
}

.fab-instagram {
  background-color: #C13584;
}

.fab-schaden {
  background-color: var(--accent-red);
}

.fab-schaden svg {
  width: 50px;
  height: 50px;
}

/* ─── Logo row (Partner & Zertifikat) ───────────────────────────────────── */
.software-tagline {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--primary);
}

.logo-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.logo-slide.active {
  display: flex;
}

.logo-slide img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--accent-blue);
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
}

.slider-prev { left: 0.5rem; }
.slider-next { right: 0.5rem; }

.slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  background-color: #cbd5e0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slider-dots .dot.active {
  background-color: var(--accent-blue);
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-left,
.partner-right {
  text-align: center;
}

.certificate-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 1.5rem;
}

.logo-card {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.logo-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-card--dark {
  background-color: #111111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-card--dark:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo-card img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ─── Einsatzgebiet ──────────────────────────────────────────────────────── */
.location-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.area-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.area-text-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: var(--text-dark);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-text-card p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* ─── Karten-Platzhalter (Klick-zum-Laden) ──────────────────────────────────── */
.map-placeholder {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(10, 31, 68, 0.12);
  border-radius: var(--border-radius);
  background: #f3f5f9;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.map-note {
  margin: 0;
  max-width: 420px;
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.85;
}

/* ─── Consent-Popup (zentriert) & Datenschutz-Schild ────────────────────────── */
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5, 19, 43, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.consent-overlay.is-visible {
  opacity: 1;
}

.consent-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s ease;
}

.consent-overlay.is-visible .consent-card {
  transform: translateY(0) scale(1);
}

.consent-icon {
  margin-bottom: 0.75rem;
}

.consent-icon svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.consent-title {
  margin: 0 0 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.consent-text {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.consent-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  text-decoration: underline;
  font-size: 0.9rem;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
}

.consent-btn {
  flex: 1 1 0;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease, background 0.2s ease;
}

.consent-accept {
  background: var(--primary);
  color: var(--text-light);
}

.consent-accept:hover {
  filter: brightness(1.25);
}

.consent-reject {
  background: #e7eaf0;
  color: var(--text-dark);
}

.consent-reject:hover {
  background: #d7dce6;
}

.privacy-fab {
  position: fixed;
  left: 1rem;
  bottom: 1.5rem;
  z-index: 1100;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-light);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.privacy-fab:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.privacy-fab svg {
  width: 26px;
  height: 26px;
}

/* ─── Info columns ───────────────────────────────────────────────────────── */
.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.info-column {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-column h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.info-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.info-list li {
  background-color: #ffffff;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
}

.info-column p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* ─── Small cards ────────────────────────────────────────────────────────── */
.small-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.small-cards .card {
  font-size: 0.9rem;
  font-weight: 400;
}

/* ─── Image grid ─────────────────────────────────────────────────────────── */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.image-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--border-radius);
  background-color: #e2e8f0;
}

/* ─── Info icon ──────────────────────────────────────────────────────────── */
.info-icon {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent-blue);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Tablet / large hamburger breakpoint (≤ 768px) ─────────────────────── */
@media (max-width: 768px) {
  /* Nav: show hamburger, hide inline links */

  /* Raise navbar above floating buttons when dropdown is open */
  .navbar {
    z-index: 1200;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--primary);
    display: none;
  }

  .nav-links li {
    display: block;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    white-space: normal;
    box-sizing: border-box;
  }

  .menu-toggle:checked + .hamburger + .nav-links {
    display: block;
  }

  /* Dropdown: im mobilen Menü eingeklappt, öffnet erst per Klick auf "Leistungen" */
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .nav-submenu {
    max-height: 400px;
  }

  /* Dreieck dreht sich, wenn das Untermenü geöffnet ist */
  .nav-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .nav-submenu li a {
    color: var(--text-light);
    padding: 0.85rem 1.25rem 0.85rem 2.5rem;
    font-size: 0.95rem;
  }

  .nav-submenu li a:hover,
  .nav-submenu li a:focus-visible {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.12);
  }

  .hamburger {
    display: flex;
  }

  /* Lang switcher on mobile: smaller */
  .lang-btn {
    font-size: 0.78rem;
    padding: 0.28rem 0.5rem;
  }

  /* Topbar: two-row compact layout */
  :root {
    --topbar-height: 52px;
  }

  .topbar {
    height: var(--topbar-height);
    /* allow wrapping inside the topbar */
    overflow: visible;
  }

  .topbar .contact-line {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  /* Hero adjustments */
  .hero {
    min-height: 70vh;
    background-position: center 35%;
    padding-top: calc(5rem + var(--nav-height) + var(--topbar-height));
  }

  /* Subpage heroes: push heading/subheading toward the bottom so the
     background car stays visible behind the text on mobile */
  .hero .hero-content {
    align-self: flex-end;
    margin-top: auto;
  }

  #hero.section {
    padding-top: calc(5rem + var(--nav-height) + var(--topbar-height));
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  /* Hero badges: 2-column grid */
  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .hero-benefit {
    font-size: 0.82rem;
    padding: 0.35rem 0.5rem;
  }

  /* Cards single column */
  .cards {
    grid-template-columns: 1fr;
  }

  /* About inner single column */
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-photo-placeholder,
  .about-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  /* Review cards single column */
  .review-slide {
    padding: 1.5rem;
  }

  /* Final CTA buttons stack */
  .cta-final-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* About list 2 columns on tablet */
  .about-list {
    grid-template-columns: 1fr 1fr;
  }

  /* Process steps single column */
  .process-horizontal {
    grid-template-columns: 1fr 1fr;
  }

  /* FAQ single column */
  .faq {
    grid-template-columns: 1fr;
  }

  /* Logo row: 2 columns */
  .logo-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact stacked */
  .contact-section {
    grid-template-columns: 1fr;
  }

  /* Einsatzgebiet: stack */
  .area-row {
    grid-template-columns: 1fr;
  }

  .area-text-card {
    min-height: auto;
  }

  /* Floating buttons: slightly smaller */
  .fab {
    width: 48px;
    height: 48px;
  }

  .fab svg {
    width: 20px;
    height: 20px;
  }

  .fab-schaden svg {
    width: 40px;
    height: 40px;
  }

  /* Section headings smaller */
  section h2 {
    font-size: 1.6rem;
  }
}

/* ─── Small mobile (≤ 600px) ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --topbar-height: 48px;
    --nav-height: 72px;
  }

  /* Topbar: show only phone + email, hide "Auch am Wochenende" */
  .topbar .contact-line .topbar-extra {
    display: none;
  }

  .topbar .contact-line {
    justify-content: space-around;
    gap: 0.25rem 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.75rem;
  }

  /* Logo */
  .header-logo {
    height: 44px;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
    padding-top: calc(4rem + var(--nav-height) + var(--topbar-height));
    background-position: center 30%;
  }

  #hero.section {
    padding-top: calc(4rem + var(--nav-height) + var(--topbar-height));
  }

  .hero-left h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .hero-left p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .hero-benefit {
    font-size: 0.78rem;
  }

  .hero-btns {
    padding-right: 4.5rem;
  }

  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    /* prevent button from exceeding container */
    max-width: 100%;
  }

  /* Process: single column on very small screens */
  .process-horizontal {
    grid-template-columns: 1fr;
  }

  /* Logo row: 2 columns, smaller cards */
  .logo-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .logo-card {
    height: 120px;
    padding: 0.75rem;
  }

  .logo-card img {
    max-height: 80px;
    max-width: 90%;
  }

  /* Map height reduced */
  .map-embed iframe {
    height: 220px;
  }

  /* Footer */
  .footer-links ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Floating buttons: smaller + tighter */
  .floating-buttons {
    bottom: 1rem;
    right: 0.75rem;
    gap: 0.5rem;
  }

  .privacy-fab {
    left: 0.75rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }

  .privacy-fab svg {
    width: 22px;
    height: 22px;
  }

  .consent-card {
    padding: 1.6rem 1.25rem;
  }

  .consent-title {
    font-size: 1.05rem;
  }

  .consent-text {
    font-size: 0.9rem;
  }

  .fab {
    width: 44px;
    height: 44px;
  }

  .fab svg {
    width: 18px;
    height: 18px;
  }

  .fab-schaden svg {
    width: 40px;
    height: 40px;
  }

  /* Section padding */
  .section {
    padding: 3rem 0;
  }

  section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
}

/* ─── Extra-small (≤ 480px) ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --nav-height: 68px;
  }

  /* Container: slightly more breathing room */
  .container {
    width: 94%;
  }

  .header-logo {
    height: 40px;
  }

  /* Topbar: single-line icon links only */
  .topbar .contact-line {
    font-size: 0.75rem;
    gap: 0.25rem 0.6rem;
    padding: 0 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
  }

  /* Hero */
  .hero-left h1 {
    font-size: 1.5rem;
  }

  /* Hero badges: 2 per row, compact */
  .hero-benefits {
    grid-template-columns: 1fr 1fr;
  }

  /* Cards / steps always single column */
  .cards,
  .about-list,
  .process-horizontal,
  .faq {
    grid-template-columns: 1fr;
  }

  .card-benefits {
    grid-template-columns: 1fr;
  }

  /* Logo row: 2 columns */
  .logo-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Inputs full-width */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
  }

  /* No hover scale on touch - avoids sticky hover states */
  .logo-card:hover,
  .card:hover,
  .process-step:hover,
  .benefit-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
}

/* ─── Tiny (≤ 360px) ─────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .topbar .contact-line {
    font-size: 0.7rem;
    gap: 0.2rem 0.4rem;
  }

  .hero-left h1 {
    font-size: 1.35rem;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }
}
