/* =========================================================
   GLOBAL BASISSTYLES
========================================================= */

:root {
  /* Base colors */
  --color-bg-primary: #0a0a0d;
  --color-bg-secondary: #0f0f13;
  --color-surface-highlighted: #141418;

  /* Text */
  --color-text-dark: #cccccc;
  --color-text-bright: #ffffff;

  /* Accent */
  --color-accent-primary: #d4af37;
  --color-accent-light: #ffeba8;

  /* Status */
  --color-warning-dark: #2a1a1a;
  --color-warning-bright: #bb6666;
  --color-warning-text: #ffcccc;

  /* Typography scale */
  --fs-display: 42px;
  --fs-big: 28px;
  --fs-medium: 24px;
  --fs-small: 18px;
  --fs-mini: 14px;
}

@media (max-width: 900px) {
  :root {
  /* Typography scale */
  --fs-display: 35px;
  --fs-big: 22px;
  --fs-medium: 18px;
  --fs-small: 14px;
  --fs-mini: 14px;
}
}

/* =========================================================
   GLOBAL BASISSTYLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--color-bg-primary);
  color: var(--color-text-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================================================
   HERO-BEREICH
========================================================= */

.hero {
  min-height: 75vh;
  position: relative;
  background: url("/img/main_page/hero-lokus.png") center/cover no-repeat;

  background-position: 50% 70%;

  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  padding-left: 6%;
  padding-right: 6%;
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.2;
  color: var(--color-text-bright);
}

.hero p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--color-text-dark);
}


/* Compact hero variant used by offers + misc pages */
.small-hero {
  min-height: 260px;
  background: url("/img/main_page/hero-lokus.png") center/cover no-repeat;
  position: relative;
}

/* =========================================================
   BUTTONS – EINHEITLICHE ANIMATION
========================================================= */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  text-align: center;

  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

/* Standard-Button-Varianten */
.primary {
  background: var(--color-accent-primary);
  color: var(--color-bg-primary);
  border: 2px solid transparent;
}

.secondary {
  background: transparent;
  color: var(--color-accent-primary);
  border: 2px solid var(--color-accent-primary);
}

/* Hover – alle Buttons gleich */
.btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.55);
}

/* Klick-Feedback */
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.45);
}

/* Tastatur-Fokus */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.55);
}

/* kleinere Buttons */
.small {
  padding: 10px 20px;
}

/* =========================================================
   VORTEIL-ICON-BAR – HORIZONTAL & VERTIKAL MITTIG
========================================================= */

.icon-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 45px auto;
  width: 95%;
  border-radius: 18px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-text-dark) !important;
}

.icon-box {
  background: var(--color-bg-secondary);
  border-radius: 18px;
  padding: 16px 18px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 90px;

  text-align: left;

  transition: 0.3s ease;
}

.icon-box i {
  color: var(--color-accent-primary);
  font-size: var(--fs-big);
  width: 32px;
  text-align: center;
  line-height: 1;
}

.icon-box span,
.icon-box p {
  display: block;
  line-height: 1.3;
  font-size: var(--fs-mini);
}

/* =========================================================
   MODELLE – KARTENLAYOUT
========================================================= */

.text-container {
  background: var(--color-bg-secondary);  /* Hintergrundfarbe */
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-text-bright);
}

.grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
  gap: 25px;
  margin-bottom: 40px;
}

/* Karte */
.card {
  background: #0f0f13;
  border: 1px solid var(--color-accent-primary);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Innenbereich */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 15px 18px;
}

.card h3 {
  margin: 10px 0 5px;
  color: var(--color-accent-primary);
  font-size: var(--fs-big);
}

.card p {
  color: var(--color-text-dark);
  flex-grow: 1;
}

/* bündiger Button */
.card-btn {
  align-self: center;
  margin-top: 12px;
}

.corner-badge {
  position: absolute;
  top: 29px;
  left: -68px;

  background: var(--color-accent-primary);
  color: #0f0f13;

  padding: 6px 55px;
  font-size: var(--fs-mini);
  font-weight: 700;

  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* =========================================================
   PREISE-BEREICH
========================================================= */

.prices {
  padding: 45px 0;
  background: var(--color-bg-secondary);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prices h2 {
  color: var(--color-text-bright);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.pitem {
  display: flex;
  align-items: center; 
  justify-content: center; 
  gap: 6px;                
  text-align: left;
}


.pitem i {
  color: var(--color-accent-primary);
  font-size: var(--fs-medium);
  line-height: 1;
}


/* =========================================================
   RESPONSIVE NAVIGATION
========================================================= */

@media (max-width: 900px) {
  .btn-group .btn {
    margin-bottom: 12px; /* Abstand nach unten */
  }

  /* optional: letzten Button ohne zus�tzlichen Abstand */
  .btn-group .btn:last-child {
    margin-bottom: 0;
  }

  .icon-bar {
    gap: 0px;
  }

  .icon-box {
    min-height: 10px;
  }

  .prices {
    text-align: left;
  }

  .price-grid {
    justify-items: start;
    margin-left: 20px;
  }

  .pitem {
    justify-content: flex-start;
  }

  .pitem.buy {
    justify-content: center;
  }
}

/* =========================================================
   SERVICE BOX
========================================================= */

.service-box {
  text-align: center;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 45px auto 45px auto;
}

.service-box .service-content {
  padding: 25px;
  border: 2px solid var(--color-accent-primary);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-box .service-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.service-box .icon-primary {
  font-size: 30px;
  color: var(--color-accent-primary);
  margin-right: 15px;
}

.service-box .service-title {
  font-size: var(--fs-medium);
  color: var(--color-text-bright);
  margin-bottom: 0;
}

.service-box .service-description {
  font-size: var(--fs-small);
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .service-description {
    max-width: 70%;
    text-align: justify;
  }
}

@media (max-width: 600px) {
  .service-box .service-title {
    width: min-content; 
  }
}

.service-box .service-btn {
  padding: 10px 20px;
  font-size: var(--fs-small);
  border-radius: 30px;
  color: var(--color-bg-primary);
  background-color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-box .service-btn:hover {
  background-color: #c6a61d;
  transform: translateY(-3px);
}

