/* ============================================================
   verleih's – Stylesheet
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --color-primary:    #68266F;  /* Lila   – Primär          */
  --color-accent:     #AA3C39;  /* Rot    – Akzent          */
  --color-secondary:  #729C34;  /* Grün   – Dritter Akzent  */
  --color-dark:    #1C1C1C;
  --color-light:   #FAFAFA;
  --color-mid:     #F4F0F5;  /* leicht lila getönt */

  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
  --nav-height: 64px;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-stack);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-light);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Utility --------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: #fff;
  border-bottom: 3px solid var(--color-primary);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav__links a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Hamburger – mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--color-secondary) 0%, #4a6820 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  padding-top: var(--nav-height);
}

/* Geometric accent element */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}

.hero__accent {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 180px;
  height: 180px;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 6s ease-in-out infinite;
}

.hero__accent::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 0.2; }
  50%       { transform: scale(1.1); opacity: 0.35; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero__cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: transform 0.2s;
}

.hero__cta:hover {
  transform: translateY(-2px);
}

/* ============================================================
   BESCHREIBUNG
   ============================================================ */
.beschreibung {
  background: var(--color-light);
  padding: 7rem 0 6rem;
}

.beschreibung__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.beschreibung__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.beschreibung__img {
  width: 100%;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.beschreibung__img:hover {
  transform: rotate(0deg) scale(1.03);
}

.beschreibung__label {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
  color: var(--color-dark);
}

.beschreibung__text p + p {
  margin-top: 1rem;
}

.beschreibung__features {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-mid);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

/* ============================================================
   REFERENZEN
   ============================================================ */
.referenzen {
  background: var(--color-light);
  padding: 6rem 0;
}

.referenzen__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.referenzen__header .section-title {
  margin-bottom: 0.5rem;
}

.referenzen__sub {
  color: #666;
  font-size: 1rem;
}

.referenzen__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.referenz-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--color-secondary);
  transition: transform 0.25s, box-shadow 0.25s;
}

.referenz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.referenz-card__img {
  width: 100%;
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.referenz-card__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.referenz-card__body {
  padding: 1.4rem;
}

.referenz-card__tag {
  display: inline-block;
  background: rgba(114, 156, 52, 0.12);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.referenz-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.referenz-card__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ============================================================
   BEISPIELE
   ============================================================ */
.beispiele {
  background: var(--color-mid);
  padding: 6rem 0;
}

.beispiele__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.beispiele__header .section-title {
  margin-bottom: 0.5rem;
}

.beispiele__sub {
  color: #666;
  font-size: 1rem;
}

.beispiele__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.beispiel-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--color-primary);
  transition: transform 0.25s, box-shadow 0.25s;
}

.beispiel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.beispiel-card__icon {
  font-size: 2rem;
  line-height: 1;
  padding: 1.8rem 1.6rem 0;
}

.beispiel-card__body {
  padding: 1rem 1.6rem 1.8rem;
}

.beispiel-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.beispiel-card__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  background: var(--color-secondary);
  padding: 6rem 0;
  color: #fff;
}

.kontakt__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.kontakt__header .section-title {
  color: #fff;
  margin-bottom: 0.5rem;
}

.kontakt__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.kontakt__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.kontakt-item {
  display: block;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: background 0.25s, border-color 0.25s;
  color: inherit;
}

.kontakt-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
}

.kontakt-item__icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.kontakt-item__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.kontakt-item__value {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ============================================================
   IMPRESSUM
   ============================================================ */
.impressum {
  background: var(--color-light);
  padding: 3rem 0;
  border-top: 1px solid #e0e0e0;
}

.impressum__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.impressum__block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.impressum__block p,
.impressum__block address {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  font-style: normal;
}

.impressum__copy {
  font-size: 0.78rem;
  color: #aaa;
  align-self: flex-end;
  flex-basis: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet – 768px */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 1rem 0;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 2rem;
    border-bottom: none;
    font-size: 1rem;
  }

  .nav__links a:hover {
    background: var(--color-mid);
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }


  .beschreibung__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .beschreibung__visual {
    order: -1;
  }

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

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

  .kontakt__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Mobile – 480px */
@media (max-width: 480px) {
  :root { --nav-height: 56px; }

  .hero__title {
    letter-spacing: -0.02em;
  }

  .beschreibung {
    padding: 5rem 0 4rem;
  }

  .beschreibung__img {
    max-width: 240px;
  }

  .referenzen__grid {
    grid-template-columns: 1fr;
  }

  .beispiele__grid {
    grid-template-columns: 1fr;
  }

  .referenzen,
  .beispiele,
  .kontakt {
    padding: 4rem 0;
  }

  .impressum__inner {
    flex-direction: column;
  }
}
