@charset "UTF-8";

/* ==========================================================================
   Design-Tokens (Platzhalter – hier später Marken-Farben/Fonts eintragen)
   ========================================================================== */
:root {
  /* Farben – dunkles, edles Grün mit Orange-Akzent */
  --color-bg: #0f2018;
  --color-bg-alt: #17291f;
  --color-text: #f6f7f2;
  --color-text-muted: #a7b8ab;
  --color-accent: #e2792c;
  --color-accent-alt: #f2a65a;
  --color-border: #24392c;

  /* Typografie */
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Abstände */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --max-width: 1140px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm);
}

/* ==========================================================================
   Layout-Hilfsklassen
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.section {
  padding-block: var(--space-lg);
}

.btn {
  display: inline-block;
  padding: 0.85em 1.75em;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-sm);
}

.site-header__logo {
  display: block;
}

.site-header__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-text);
}

.site-nav a.btn {
  color: var(--color-text);
}

.btn--nav {
  padding: 0.6em 1.4em;
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-header__phone svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.site-header__hours {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: var(--space-xs) 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding-block: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-md);
}

.site-footer__logo {
  height: 34px;
  width: auto;
  margin-bottom: var(--space-xs);
}

.site-footer__claim {
  color: var(--color-text-muted);
  margin: 0;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.site-footer__nav a:hover {
  color: var(--color-text);
}

.site-footer__copyright {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: var(--space-md) 0 0;
}

@media (max-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow--1 {
  width: 420px;
  height: 420px;
  background: var(--color-accent);
  top: -140px;
  right: -120px;
}

.hero__glow--2 {
  width: 320px;
  height: 320px;
  background: var(--color-accent-alt);
  bottom: -160px;
  left: -100px;
}

.hero__inner {
  position: relative;
  max-width: 760px;
}

.hero__headline {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

.hero__subheadline {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-md);
}

.btn--hero {
  font-size: 1.05rem;
  padding: 1em 2em;
}

/* ==========================================================================
   Kurz-Vorstellung (Intro-Punkte)
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg) var(--space-md);
  text-align: center;
}

.intro__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}

.intro__icon svg {
  width: 28px;
  height: 28px;
}

.intro__heading {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.intro__text {
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   Formate-Teaser
   ========================================================================== */
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

.formats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.formats__card {
  display: block;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.formats__card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.formats__card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.formats__card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.formats__link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   Abschluss-CTA
   ========================================================================== */
.cta-band__inner {
  text-align: center;
  background: color-mix(in srgb, var(--color-accent) 10%, var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
}

.cta-band__heading {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: var(--space-xs);
}

.cta-band__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Seitenkopf (Unterseiten)
   ========================================================================== */
.page-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-sm);
}

.page-lead {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 65ch;
}

.team-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.team-photo {
  aspect-ratio: 5 / 4;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .team-intro {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Format-Details (Angebot-Seite)
   ========================================================================== */
.format-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.format-detail {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.format-detail__price {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.format-detail h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.price-disclaimer {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: var(--space-md) 0 0;
}

.format-detail__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
}

.format-detail__specs dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.format-detail__specs dd {
  margin: 0;
}

/* ==========================================================================
   Callouts (Baukasten, Technik, ...)
   ========================================================================== */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.callout {
  padding: var(--space-md);
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}

.callout__icon svg {
  width: 22px;
  height: 22px;
}

.callout h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

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

/* ==========================================================================
   Prozess-Timeline (So läuft's ab)
   ========================================================================== */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 640px;
}

.process__step {
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: calc(-1 * var(--space-lg));
  width: 2px;
  background: var(--color-border);
}

.process__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.process__body h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

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

/* ==========================================================================
   Empty State (Referenzen)
   ========================================================================== */
.empty-state {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
}

.empty-state__icon svg {
  width: 32px;
  height: 32px;
}

.empty-state__heading {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.empty-state__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Kontaktformular
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field .optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75em 1em;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-aside a {
  color: var(--color-accent);
}

.form-notice {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.form-notice--success {
  background: color-mix(in srgb, var(--color-accent) 15%, var(--color-bg-alt));
  border: 1px solid var(--color-accent);
}

.form-notice--error {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.form-notice--error a {
  color: var(--color-accent);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Impressum & Datenschutz
   ========================================================================== */
.legal-notice {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.legal-notice p {
  margin: 0;
  color: var(--color-text-muted);
}

.placeholder {
  color: var(--color-accent);
  border-bottom: 1px dashed var(--color-accent);
}

.legal-jump {
  display: flex;
  gap: var(--space-md);
}

.legal-jump a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.legal-jump a:hover {
  text-decoration: underline;
}

.legal__content {
  max-width: 70ch;
}

.legal__content h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.legal__content h3 {
  font-size: 1.05rem;
  margin-top: var(--space-md);
  margin-bottom: 0.4rem;
}

.legal__content p {
  color: var(--color-text-muted);
}

.legal__content a {
  color: var(--color-accent);
}
