/* =========================================================
   Gesundheitszeugnis Online
   Custom Design für Cassiopeia Extended
   ========================================================= */

:root {
  --gz-blue: #3478f6;
  --gz-blue-dark: #175bd8;
  --gz-blue-soft: #eef5ff;
  --gz-text: #101828;
  --gz-muted: #667085;
  --gz-border: #e7eaf0;
  --gz-bg: #ffffff;

  --body-font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Grundlayout */

body {
  background: var(--gz-bg);
  color: var(--gz-text);
  font-family: var(--body-font-family);
  font-size: 17px;
  line-height: 1.65;
}

.site-grid {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.container-header {
  background: #fff;
  background-image: none;
  box-shadow: none;
  border-bottom: 1px solid var(--gz-border);
  color: var(--gz-text);
  padding: 0;
}

.container-header .container-nav,
.container-header .grid-child {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.container-header .navbar-brand {
  padding-top: 22px;
  padding-bottom: 22px;
}

.container-header .navbar-brand a {
  color: var(--gz-text);
  text-decoration: none;
}

.container-header .site-title {
  color: var(--gz-text);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.container-header .site-description {
  color: var(--gz-muted);
}

/* Navigation */

.container-header .mod-menu {
  color: var(--gz-text);
}

.container-header .mod-menu > li > a {
  color: var(--gz-text);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding: .65rem .85rem;
  border-radius: 999px;
}

.container-header .mod-menu > li > a:hover {
  color: var(--gz-blue);
  background: var(--gz-blue-soft);
}

/* Hauptbereich */

main {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.com-content-article,
.blog-featured {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family);
  color: var(--gz-text);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.04;
  max-width: 950px;
  margin: 1rem auto 1.5rem;
  text-align: center;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

p {
  color: var(--gz-muted);
}

/* Buttons */

.btn,
button,
input[type="submit"] {
  border-radius: 999px;
}

.btn-primary {
  background: var(--gz-blue);
  border-color: var(--gz-blue);
  color: #fff;
  padding: .85rem 1.5rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(52, 120, 246, .20);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--gz-blue-dark);
  border-color: var(--gz-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(52, 120, 246, .28);
}

/* Karten */

.card {
  border: 1px solid var(--gz-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(16, 24, 40, .06);
}

/* Footer */

.container-footer {
  background: #0f172a;
  background-image: none;
  color: #fff;
}

.container-footer a {
  color: #fff;
}

/* Mobile */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  main {
    padding-top: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* =========================================================
   Gesundheitszeugnis Online – Landingpage
   ========================================================= */

/* Joomla-Beitragstitel auf der Startseite ausblenden */
body.itemid-102 .page-header {
  display: none;
}

/* unnötigen oberen Abstand entfernen */
body.itemid-102 main {
  padding-top: 0;
}

body.itemid-102 .site-grid {
  margin-top: 0;
}

.gz-home {
  max-width: 1180px;
  margin: 0 auto;
}

/* HERO */

.gz-hero {
  text-align: center;
  padding: 70px 20px 55px;
}

.gz-eyebrow {
  display: inline-block;
  color: #3478f6;
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 18px;
}

.gz-hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.gz-lead {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.65;
}

.gz-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.gz-start {
  text-decoration: none;
}

.gz-more {
  display: inline-block;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  background: #f5f6f8;
  color: #101828;
  text-decoration: none;
  font-weight: 600;
}

.gz-more:hover {
  background: #e9edf3;
  color: #101828;
}

/* DREI KARTEN */

.gz-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 20px 80px;
}

.gz-card {
  min-height: 330px;
  padding: 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gz-card-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #3478f6;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(16,24,40,.08);
}

.gz-card h2 {
  font-size: 1.65rem;
  margin: 0 0 10px;
  letter-spacing: -.035em;
}

.gz-card p {
  margin: 0;
  line-height: 1.55;
}

.gz-card-light {
  background: #f2f4f7;
}

.gz-card-photo {
  background:
    linear-gradient(145deg,#e8eef7 0%,#f7f9fc 100%);
  border: 1px solid #e5eaf1;
}

.gz-card-blue {
  background: linear-gradient(145deg,#3478f6,#1762e8);
  color: #fff;
}

.gz-card-blue h2,
.gz-card-blue p {
  color: #fff;
}

.gz-card-button {
  display: inline-block;
  margin-top: 22px;
  background: #fff;
  color: #175bd8;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}

@media (max-width: 850px) {
  .gz-cards {
    grid-template-columns: 1fr;
  }

  .gz-card {
    min-height: 260px;
  }

  .gz-actions {
    flex-direction: column;
  }

  .gz-hero {
    padding-top: 45px;
  }
}

/* =========================================================
   Gesundheitszeugnis Online – Header / Navigation
   ========================================================= */

body.itemid-102 .container-header {
  min-height: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #edf0f4;
  box-shadow: none;
  position: relative;
  z-index: 100;
}

body.itemid-102 .container-header .grid-child {
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

body.itemid-102 .container-header .navbar-brand {
  margin-right: auto;
  padding: 0;
}

body.itemid-102 .container-header .site-title {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.035em;
  color: #101828;
}

body.itemid-102 .container-header .site-title::before {
  content: "✚";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  border-radius: 9px;
  background: #3478f6;
  color: #fff;
  font-size: 17px;
  vertical-align: middle;
}

body.itemid-102 .container-header .mod-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

body.itemid-102 .container-header .mod-menu > li > a {
  color: #344054;
  font-size: .91rem;
  font-weight: 550;
  padding: .65rem .8rem;
  border-radius: 999px;
}

body.itemid-102 .container-header .mod-menu > li > a:hover {
  color: #3478f6;
  background: #f4f7fb;
}

/* Hero näher an den Header */
body.itemid-102 .gz-hero {
  padding-top: 48px;
}

/* Smartphone */
@media (max-width: 768px) {
  body.itemid-102 .container-header .grid-child {
    min-height: 64px;
  }

  body.itemid-102 .gz-hero {
    padding-top: 35px;
  }
}

/* =========================================================
   FINALER HEADER
   ========================================================= */

body.itemid-102 .container-header {
  height: 78px;
  min-height: 78px;
}

body.itemid-102 .container-header .container-nav {
  max-width: 1180px;
  width: 100%;
  height: 78px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

/* Menü horizontal */
body.itemid-102 .container-header .mod-menu {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

/* normale Links */
body.itemid-102 .container-header .mod-menu > li > a {
  display: block;
  padding: 10px 13px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* erster Menüpunkt = Marke links */
body.itemid-102 .container-header .mod-menu > li:first-child {
  margin-right: auto;
}

body.itemid-102 .container-header .mod-menu > li:first-child > a {
  color: #101828;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.025em;
  padding-left: 0;
}

body.itemid-102 .container-header .mod-menu > li:first-child > a::before {
  content: "✚";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  border-radius: 9px;
  background: #3478f6;
  color: #fff;
  font-size: 16px;
}

/* Hero dichter an Header */
body.itemid-102 .gz-hero {
  padding-top: 58px;
}

/* weiches Scrollen zu Ablauf/FAQ usw. */
html {
  scroll-behavior: smooth;
}

@media (max-width: 850px) {
  body.itemid-102 .container-header {
    height: auto;
  }

  body.itemid-102 .container-header .container-nav {
    height: auto;
    min-height: 68px;
  }

  body.itemid-102 .container-header .mod-menu {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  body.itemid-102 .container-header .mod-menu > li:first-child {
    width: 100%;
  }
}
