:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #061f3f;
  --muted: #64748b;
  --primary: #002247;
  --primary-dark: #001833;
  --accent: #ffcc00;
  --accent-dark: #e6b800;
  --border: #dbe3ee;
  --shadow: 0 24px 70px rgba(0, 34, 71, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  overflow: hidden;
  background: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text small {
  color: var(--muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: white;
  color: var(--primary);
}

.btn-secondary {
  background: rgba(0, 34, 71, 0.04);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.trust-row strong {
  display: block;
  font-size: 1.12rem;
}

.trust-row span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-logo-wrap {
  width: 100%;
  margin: 0 0 24px;
  padding: 22px;
  border-radius: 22px;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 285px;
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.status-badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8f4f6;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
}

.hero-card p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.btn-card {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
}

.btn-card:hover {
  background: var(--accent-dark);
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service-card p {
  color: var(--muted);
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-soft);
  font-size: 1.7rem;
}

.section-highlight {
  background: #e9f1f2;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 110px;
}

.form-copy p {
  color: var(--muted);
}

.info-box {
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--border);
}

.request-form {
  padding: 30px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 800;
  font-size: 0.92rem;
}

label.full {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(15, 95, 120, 0.16);
  border-color: var(--primary);
}

.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.price-preview {
  margin: 24px 0;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.price-preview h3 {
  margin-bottom: 8px;
}

.price-preview p {
  margin-bottom: 0;
  color: var(--muted);
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.price-line:last-child {
  border-bottom: 0;
}

.price-total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 900;
}

.privacy {
  margin-bottom: 18px;
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.about-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.about-box p {
  color: var(--muted);
}

.contact-section {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.contact-grid p {
  color: var(--muted);
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--text);
  color: white;
}

.contact-card p {
  margin-bottom: 10px;
  color: white;
}

.site-footer {
  padding: 28px 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  margin-left: 18px;
}

@media (max-width: 1050px) {
  .cards-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .form-layout,
  .about-box,
  .contact-grid,
  .repair-hero-grid,
  .subpage-hero-grid,
  .cta-box,
  .split-section,
  .action-card-grid {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .info-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1120px);
  }

  .header-cta {
    display: none;
  }

  .hero-card,
  .request-form,
  .about-box,
  .contact-card,
  .wizard-form {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner a {
    margin-left: 0;
    margin-right: 16px;
  }

  .cards-grid-four {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .wizard-actions .btn {
    width: 100%;
  }
}

/* Vierer-Leistungskarten */

.cards-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

/* Links in Karten */

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary);
  font-weight: 900;
}

.text-link:hover {
  text-decoration: underline;
}

/* Startseiten-Zwischenbereich */

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.split-section p {
  color: var(--muted);
}

.action-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.action-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(0, 34, 71, 0.08);
}

.action-card p {
  color: var(--muted);
}

.action-card .btn {
  margin-top: 12px;
}

/* Reparaturanfrage */

.repair-hero {
  padding: 78px 0 58px;
}

.repair-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.repair-note-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.repair-note-card p {
  color: var(--muted);
}

.repair-trust {
  margin-top: 34px;
}

/* Wizard-Formular */

.wizard-shell {
  max-width: 880px;
}

.wizard-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.wizard-header p {
  color: var(--muted);
}

.wizard-form {
  padding: 30px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.wizard-progress {
  margin-bottom: 28px;
}

.progress-line {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.progress-line span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.25s ease;
}

#stepIndicator {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.step-help {
  margin-bottom: 24px;
  color: var(--muted);
}

textarea {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 3px solid rgba(15, 95, 120, 0.16);
  border-color: var(--primary);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.wizard-actions .btn {
  min-width: 140px;
}

#submitRepair {
  display: none;
}

.summary-box {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  margin-bottom: 22px;
}

.summary-box strong {
  color: var(--text);
}

.summary-item {
  margin-bottom: 12px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

/* Heizungswartung Landingpage */

.subpage-hero {
  padding: 78px 0 62px;
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.seo-content {
  max-width: 1040px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.info-card p {
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

.step-card p {
  color: var(--muted);
}

.section-soft-cta {
  padding-top: 30px;
}

.cta-box {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.cta-box .eyebrow {
  color: var(--accent);
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-box .btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.cta-box .btn-primary:hover {
  background: var(--accent-dark);
}

/* Datei-Upload */

.field-hint {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

input[type="file"] {
  height: auto;
  padding: 12px 14px;
  cursor: pointer;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.service-detail-reverse .service-detail-content {
  order: 2;
}

.service-detail-reverse .service-detail-box {
  order: 1;
}

.service-detail-content p {
  color: var(--muted);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.service-detail-box {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid rgba(0, 34, 71, 0.22);
  box-shadow: 0 16px 44px rgba(0, 34, 71, 0.07);
}

.service-detail-box h3 {
  font-size: 1.5rem;
}

.service-detail-box p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .service-detail,
  .service-detail-reverse {
    grid-template-columns: 1fr;
  }

  .service-detail-reverse .service-detail-content,
  .service-detail-reverse .service-detail-box {
    order: initial;
  }
}

.legal-hero {
  padding-bottom: 34px;
}

.legal-content {
  max-width: 900px;
}

.legal-card {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid rgba(0, 34, 71, 0.18);
  box-shadow: 0 16px 44px rgba(0, 34, 71, 0.06);
}

.legal-card h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
  word-break: break-word;
}

@media (max-width: 620px) {
  .legal-card {
    padding: 24px;
  }
}

.legal-list {
  margin: 12px 0 24px;
  padding-left: 20px;
  color: var(--muted);
}

.legal-list li {
  margin-bottom: 8px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   MOBILE / OVERFLOW FIXES
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

body {
  min-width: 0;
}

.container,
.hero-content,
.hero-card,
.service-card,
.action-card,
.info-card,
.step-card,
.service-detail,
.service-detail-content,
.service-detail-box,
.legal-card,
.contact-card,
.request-form,
.wizard-form {
  min-width: 0;
}

a,
p,
span,
strong,
li,
h1,
h2,
h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contact-card a,
.legal-card a {
  word-break: break-word;
}

/* Preiszeilen auf kleinen Bildschirmen umbrechen */
.price-line,
.price-total {
  min-width: 0;
}

.price-line span,
.price-line strong,
.price-total span,
.price-total strong {
  min-width: 0;
}

/* Mobile Optimierung */
@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .logo {
    min-width: 0;
  }

  .logo-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-text strong {
    font-size: 1rem;
  }

  .logo-text small {
    font-size: 0.78rem;
    white-space: normal;
  }

  .hero {
    padding: 46px 0 54px;
  }

  .subpage-hero,
  .repair-hero {
    padding: 46px 0 48px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-grid,
  .subpage-hero-grid,
  .repair-hero-grid,
  .form-layout,
  .split-section,
  .action-card-grid,
  .about-box,
  .contact-grid,
  .service-detail,
  .info-grid,
  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-detail-reverse .service-detail-content,
  .service-detail-reverse .service-detail-box {
    order: initial;
  }

  .cards-grid,
  .cards-grid-four {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 28px 0;
  }

  .hero-actions .btn,
  .btn,
  .form-submit {
    width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .hero-text {
    font-size: 1.03rem;
  }

  .hero-card,
  .service-card,
  .action-card,
  .about-box,
  .contact-card,
  .service-detail-box,
  .legal-card,
  .request-form,
  .wizard-form {
    padding: 22px;
    border-radius: 20px;
  }

  .hero-logo-wrap {
    padding: 18px;
    border-radius: 18px;
  }

  .hero-logo {
    width: 240px;
    max-width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px;
  }

  .price-line,
  .price-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .wizard-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-inner a {
    margin-left: 0;
    margin-right: 0;
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  display: block;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 14px;
    border-radius: 14px;
    font-weight: 800;
  }

  .main-nav a:hover {
    background: var(--surface-soft);
    color: var(--primary);
  }

  .header-inner {
    position: relative;
  }
}

.go-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 34, 71, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.go-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-top:hover {
  background: white;
  color: var(--primary);
}

@media (max-width: 700px) {
  .go-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

.inline-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--primary-dark);
}

.hero-card h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.service-card h3 {
  font-size: 1.1rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}