:root {
  --bg: #f5f5f5;
  --primary: #0b7285;
  --primary-dark: #08505c;
  --accent: #ffb400;
  --text: #222;
  --text-light: #555;
  --white: #ffffff;

  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --max-width: 1100px;
}

/* Grundlayout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(11, 114, 133, 0.08);
}

/* Header / Navigation */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.logo-text strong {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.nav-call {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1rem 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.25rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge span {
  display: inline-flex;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 114, 133, 0.08);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0;
}

.hero-title span {
  font-weight: 400;
  color: var(--text-light);
  font-size: 1.05rem;
}

.hero-subtitle {
  margin: 0.25rem 0 0;
  color: var(--text-light);
  font-size: 0.98rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-contact-line {
  font-size: 0.9rem;
  margin: 1rem 0 0.25rem;
}

.hero-contact-line a {
  color: var(--primary-dark);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-meta-dot {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Hero-Karte rechts */

.hero-card {
  align-self: flex-start;
}

.hero-card-inner {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.25rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.hero-card-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.hero-card-sub {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
}

.pill {
  background: rgba(11, 114, 133, 0.04);
  border-radius: 16px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.15rem;
}

.pill-label {
  font-weight: 600;
}

.pill-tag {
  font-size: 0.75rem;
  color: var(--primary-dark);
}

.hero-card-footer,
.hero-card-region {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-light);
}

/* Sektionen */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem 2.75rem;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.section-intro {
  margin-top: 0;
  margin-bottom: 1.3rem;
  color: var(--text-light);
}

/* Service-Karten */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 0.75rem 0.9rem 1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-img {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 0.4rem;
}

.service-tag {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 114, 133, 0.08);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-card .more {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.service-card .more:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: #111;
  color: #ddd;
  padding: 1.1rem 1rem 1.3rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-img {
    height: 180px;
  }

  .hero-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
