/* Recker Bau – einfache, mobil-optimierte Website */

:root {
  --color-dark: #1c1f24;
  --color-dark-2: #2a2e35;
  --color-accent: #11678e;
  --color-accent-dark: #0c4c6b;
  --color-light: #f5f4f2;
  --color-gray: #6b7178;
  --color-white: #ffffff;
  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  line-height: 1.55;
  font-size: 18px;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--color-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  border-radius: 4px;
}

nav.main-nav {
  display: none;
}

nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-dark);
  padding: 8px 4px;
}

nav.main-nav a:hover {
  color: var(--color-accent);
}

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.header-call:hover {
  background: var(--color-accent-dark);
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger svg {
  width: 26px;
  height: 26px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid #eee;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 16px 20px;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid #f0f0f0;
}

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

.hero {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-2));
  color: var(--color-white);
  padding: 60px 0 50px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero p {
  font-size: 18px;
  color: #d8d9db;
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  width: 100%;
  max-width: 320px;
  border: none;
  cursor: pointer;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background: #e9e9e9;
}

/* ---------- Sections ---------- */

section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  max-width: 520px;
  margin: 0 auto 34px;
}

/* ---------- Leistungen ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-card svg {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.service-card p {
  margin: 0;
  color: var(--color-gray);
  font-size: 16px;
}

/* ---------- Video ---------- */

.video-section {
  background: var(--color-white);
}

.video-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  background: #000;
}

/* ---------- Über uns ---------- */

.about {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  text-align: center;
}

.about-text h2 {
  font-size: 26px;
  margin: 0 0 14px;
}

.about-text p {
  color: var(--color-gray);
  margin: 0 0 10px;
}

/* ---------- Kontakt ---------- */

.contact-section {
  background: var(--color-dark);
  color: var(--color-white);
}

.contact-section .section-title,
.contact-section .section-subtitle {
  color: var(--color-white);
}

.contact-section .section-subtitle {
  color: #c7c9cc;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-dark-2);
  padding: 20px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-white);
}

.contact-card:hover {
  background: #34383f;
}

.contact-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 16px;
}

.contact-card span {
  display: block;
  color: #b9bbbe;
  font-size: 14px;
}

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

footer {
  background: #14161a;
  color: #9a9ea3;
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #c7c9cc;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 10px;
}

/* ---------- Sticky mobile call bar ---------- */

.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-accent);
  display: flex;
  justify-content: center;
}

.sticky-call a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  padding: 16px 10px;
  font-size: 16px;
}

.sticky-call svg {
  width: 20px;
  height: 20px;
}

body {
  padding-bottom: 62px;
}

/* ---------- Tablet / Desktop ---------- */

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .sticky-call {
    display: none;
  }

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

  .burger {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 19px;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .btn {
    width: auto;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about {
    flex-direction: row;
    text-align: left;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

@media (min-width: 960px) {
  .hero h1 {
    font-size: 50px;
  }
}
