/* CONZEPThouse GmbH – Stylesheet
   Nur Systemschriften, keine externen Ressourcen. */

:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --sand: #f1e8dc;
  --ink: #221c2e;
  --ink-soft: #3a3247;
  --muted: #5b5466;
  --line: #e7dfd4;
  --orange: #c2410c;
  --orange-dark: #9a3412;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --sun: #f5b841;
  --night: #171320;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(34, 28, 46, 0.06), 0 14px 34px -16px rgba(34, 28, 46, 0.22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --header-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
address,
ul,
dl {
  margin: 0 0 1em;
}

address {
  font-style: normal;
}

a {
  color: var(--orange-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 780px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.brand-strong {
  font-weight: 900;
}

.brand-soft {
  font-weight: 500;
  font-style: italic;
  color: var(--orange-dark);
}

.brand-form {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--sand);
  color: var(--ink);
}

.site-nav .nav-cta a {
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta a:hover {
  background: var(--orange-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
}

.btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(245, 184, 65, 0.3), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(15, 118, 110, 0.12), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero h1 .hl {
  color: var(--orange);
}

.lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 2%;
  right: 4%;
  width: min(78%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2%;
  width: 170px;
  height: 130px;
  background-image: radial-gradient(var(--teal) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.45;
}

.tagline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
}

.tag {
  position: relative;
  padding: 0.9rem 1.5rem 0.9rem 2.7rem;
  border-radius: 14px;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  box-shadow: var(--shadow);
}

.tag::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tag-1 {
  background: var(--ink);
  transform: rotate(-4deg);
}

.tag-2 {
  background: var(--orange);
  transform: rotate(2.5deg) translateX(2.2rem);
}

.tag-3 {
  background: var(--teal);
  transform: rotate(-1.5deg) translateX(0.6rem);
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.12rem;
}

/* Leistungen */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.9rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.14;
}

.card:nth-child(1) {
  --accent: var(--ink);
  --accent-text: #fff;
}

.card:nth-child(2) {
  --accent: var(--orange);
  --accent-text: #fff;
}

.card:nth-child(3) {
  --accent: var(--teal);
  --accent-text: #fff;
}

.card:nth-child(4) {
  --accent: var(--sun);
  --accent-text: var(--ink);
}

.card-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Über uns */

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f3ede6;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 64px solid rgba(194, 65, 12, 0.22);
  border-radius: 50%;
}

.section-dark .eyebrow {
  color: var(--sun);
}

.section-dark p {
  color: #d9d1e1;
}

.section-dark :focus-visible {
  outline-color: var(--sun);
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-grid h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.about-grid p {
  max-width: 38rem;
  font-size: 1.1rem;
}

.facts {
  margin: 0;
  padding: 0.6rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.facts div {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  margin-bottom: 0.2rem;
  color: var(--sun);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-label {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-value {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

a.contact-value:hover {
  color: var(--orange);
}

.contact-card p:not(.contact-value) {
  margin: 0;
  color: var(--muted);
}

.contact-card address {
  margin: 0;
  font-size: 1.08rem;
}

.text-link {
  margin-top: 0.4rem;
  font-weight: 700;
}

/* ---------- Rechtliche Seiten ---------- */

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.75rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(40rem 18rem at 100% 0%, rgba(245, 184, 65, 0.25), transparent 65%),
    var(--bg);
}

.page-head h1 {
  margin-bottom: 0.3rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.legal {
  padding: 2.5rem 0 4.5rem;
}

.legal h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.3rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.08rem;
}

.legal li {
  margin-bottom: 0.3rem;
}

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

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--night);
  color: #cfc7d9;
  font-size: 0.95rem;
}

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

.site-footer a:hover {
  color: var(--sun);
}

.site-footer :focus-visible {
  outline-color: var(--sun);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 2rem;
}

.footer-inner p,
.footer-inner address {
  margin: 0;
}

.footer-brand {
  margin-bottom: 0.4rem !important;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    width: 100%;
    max-width: 520px;
    min-height: 300px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
  }

  .js .header-inner {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 18px 30px -18px rgba(34, 28, 46, 0.35);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0;
  }

  .js .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .cards,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-card {
    padding: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 260px;
  }

  .tag-2 {
    transform: rotate(2.5deg) translateX(1.2rem);
  }

  .facts {
    padding: 0.4rem 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
