:root {
  --blue: #0b3f88;
  --blue-dark: #072c61;
  --orange: #f26a00;
  --orange-dark: #d95f00;
  --bg: #f4f7fb;
  --text: #1c2430;
  --muted: #617089;
  --card: #ffffff;
  --border: #dbe3ef;
  --shadow: 0 18px 40px rgba(11, 63, 136, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================
   Header / Navigation
========================= */

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 44, 97, 0.10);
  box-shadow: 0 6px 18px rgba(7, 44, 97, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 300px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  background: rgba(11, 63, 136, 0.08);
  color: var(--blue);
  transform: translateY(-1px);
}

.nav .nav-cta {
  background: var(--orange);
  color: #ffffff;
  padding-inline: 18px;
  box-shadow: 0 8px 18px rgba(242, 106, 0, 0.24);
}

.nav .nav-cta:hover {
  background: var(--orange-dark);
  color: #ffffff;
}

/* =========================
   Hero
========================= */

.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 64px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(242, 106, 0, 0.28);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero p {
  font-size: 1.08rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  background: #d9e1ec;
}

.hero-note {
  margin: 14px 2px 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

/* =========================
   Allgemeine Sections
========================= */

section {
  padding: 68px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0 0 12px;
  color: var(--blue-dark);
}

.section-lead {
  max-width: 850px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================
   Cards
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(242, 106, 0, 0.14), rgba(242, 106, 0, 0.08));
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.12);
}

.icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.18rem;
}

.card p,
.card li,
.note,
.muted {
  color: var(--muted);
}

/* =========================
   Layouts
========================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

ul.clean {
  margin: 0;
  padding-left: 20px;
}

.highlight-box {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--border);
  border-left: 6px solid var(--orange);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.warning {
  background: #fff7f2;
  border: 1px solid #ffd8bf;
  border-left-color: var(--orange);
}

/* =========================
   Flächen / Objektkarten
========================= */

.object-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.object-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.object-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 1.24rem;
}

.area-note {
  color: var(--muted);
  margin-top: 16px;
}

/* =========================
   Lageplan
========================= */

.site-plan {
  margin: 26px auto 32px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.site-plan-small {
  max-width: 620px;
}

.site-plan-link {
  display: block;
  cursor: zoom-in;
}

.site-plan img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.site-plan figcaption {
  margin-top: 10px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

/* =========================
   Paketkacheln / Angebotskacheln
========================= */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 63, 136, 0.16);
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 63, 136, 0.08);
  color: var(--blue-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.offer-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--orange);
}

.offer-subtitle {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-card ul.clean {
  margin: 0;
  padding-left: 18px;
}

.offer-card ul.clean li {
  margin-bottom: 8px;
  color: var(--muted);
}

.featured-offer {
  border: 2px solid rgba(242, 106, 0, 0.35);
  background: linear-gradient(180deg, #ffffff, #fff7f2);
}

/* =========================
   Preise / m²-Kacheln
========================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  background: var(--card);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.price-card .label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.price-card strong {
  display: block;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 10px;
}

.price-offer-grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-card-tile {
  text-align: center;
}

.price-card-tile .offer-badge {
  margin-bottom: 18px;
}

.price-card-tile h3 {
  font-size: 2.2rem;
}

.price-card-tile .offer-subtitle {
  margin-bottom: 0;
}

.info-box {
  margin-top: 22px;
}

.info-box .note {
  margin: 0 0 12px;
}

.info-box .note:last-child {
  margin-bottom: 0;
}

/* =========================
   Kontakt
========================= */

.contact {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(7, 44, 97, 0.22);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.contact p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 24px;
}

.contact-label {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.contact-link {
  display: inline-block;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: white;
  word-break: break-word;
}

/* =========================
   Impressum / Footer
========================= */

.impressum-box strong {
  color: var(--blue-dark);
}

footer {
  padding: 28px 0 42px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  text-decoration: underline;
}

/* =========================
   Optionaler Hinweisblock
========================= */

.sale-notice {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 6px solid #d97706;
  background: #fef3c7;
  color: #1f2937;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  max-width: 100%;
}

.sale-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #7c2d12;
  font-size: 1rem;
  font-weight: 800;
}

.sale-notice p {
  margin: 0;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   Responsive: Tablet
========================================= */

@media (max-width: 1080px) {
  .hero-grid,
  .contact,
  .two-col,
  .object-grid,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .price-grid,
  .price-offer-grid,
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-logo {
    width: 250px;
  }

  .nav a {
    font-size: 0.9rem;
    padding: 9px 12px;
  }
}

/* =========================================
   Responsive: Handy / kleine Tablets
========================================= */

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-inner {
    width: min(1180px, calc(100% - 24px));
    min-height: auto;
    padding: 14px 0 16px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    width: 220px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .nav a {
    width: 100%;
    min-height: 42px;
    padding: 11px 10px;
    border-radius: 14px;
    text-align: center;
    font-size: 0.88rem;
  }

  .nav .nav-cta {
    grid-column: 1 / -1;
  }

  .hero {
    padding: 38px 0 46px;
  }

  .hero-grid,
  .contact,
  .two-col,
  .object-grid,
  .cards,
  .offer-grid,
  .price-offer-grid,
  .price-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 280px;
  }

  .offer-card,
  .card,
  .object-card,
  .price-card,
  .contact,
  .contact-card,
  .highlight-box {
    padding: 20px;
  }

  .offer-card h3,
  .price-card-tile h3 {
    font-size: 1.85rem;
  }

  .offer-subtitle {
    margin: 6px 0 14px;
  }

  section {
    padding: 52px 0;
  }
}

/* =========================================
   Responsive: kleine Handys
========================================= */

@media (max-width: 560px) {
  .container,
  .header-inner {
    width: calc(100% - 20px);
  }

  .brand-logo {
    width: 200px;
  }

  .nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav a {
    font-size: 0.84rem;
    min-height: 40px;
    padding: 10px 8px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.08;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero p,
  .section-lead,
  .muted,
  .note {
    font-size: 0.97rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-card {
    padding: 16px;
    border-radius: 22px;
  }

  .hero-image {
    min-height: 220px;
    border-radius: 16px;
  }

  .stats {
    gap: 10px;
    margin-top: 14px;
  }

  .stat {
    padding: 14px;
    border-radius: 14px;
  }

  .stat strong {
    font-size: 1.15rem;
  }

  .offer-card,
  .card,
  .object-card,
  .price-card,
  .contact,
  .contact-card,
  .highlight-box {
    padding: 16px;
    border-radius: 18px;
  }

  .offer-badge {
    font-size: 0.8rem;
    padding: 7px 11px;
    margin-bottom: 12px;
  }

  .offer-card h3,
  .price-card-tile h3 {
    font-size: 1.65rem;
  }

  .offer-card ul.clean {
    padding-left: 18px;
  }

  .offer-card ul.clean li {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }

  .contact h2 {
    font-size: 1.7rem;
  }

  .contact-link {
    font-size: 1.1rem;
  }

  footer {
    font-size: 0.88rem;
    padding: 24px 0 34px;
  }
}