/* Reset */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f7f6;
}
/* DEAL CARD */
.deal-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.2s;
  text-align: center;
}

.deal-card:hover {
  transform: translateY(-5px);
}

/* Retter-Deal Box */
.retter-box {
    background: #2c7a4b;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.retter-box h2 {
    margin: 0 0 10px;
}

.retter-btn {
    display: inline-block;
    margin-top: 10px;
    background: white;
    color: #2c7a4b;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.retter-btn:hover {
    background: #f1f1f1;
}

.retter-hinweis {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}
/* Bild */
.deal-img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* 🔥 zeigt komplettes Bild */
  background: #f4f4f4;
  border-radius: 10px;
  padding: 10px;
}

/* Badge */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4757;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

/* Code */
.code {
  display: inline-block;
  background: #2ecc71;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 5px;
}

/* Button */
.btn-deal {
  display: inline-block;
  margin-top: 10px;
  background: #2ecc71;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.btn-deal:hover {
  transform: scale(1.05);
}
/* Container */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
  text-align: center;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(90deg,#2ecc71,#27ae60);
  color: white;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  background: white;
  color: #27ae60;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn-green {
  background: #2ecc71;
  color: white;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-top: 30px;
}

/* CARDS */
.card {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  transition: 0.2s;
  text-decoration: none;
  color: black;
}

.card:hover {
  transform: scale(1.03);
}

/* Bilder */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Features */
.feature {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
}

/* Grauer Bereich */
.section-light {
  background: #f9f9f9;
}

/* HEADER */
.header {
  background: #2ecc71;
  color: white;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

.user {
  margin-left: 15px;
}

/* Optional Button Style */
.nav .btn-login {
  background: white;
  color: #27ae60;
  padding: 6px 12px;
  border-radius: 6px;
}
/* ===== DEALS ===== */

.deals-container{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.deals-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.deal-card{
    background:white;
    border-radius:15px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    text-align:center;
    transition:0.2s;
    position:relative;
}

.deal-card:hover{
    transform:translateY(-5px);
}

.deal-card img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:10px;
}
.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    background: #2c7a4b;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #25663e;
}

.form input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.hint {
    font-size: 14px;
    margin-top: 10px;
}

.success {
    color: green;
    margin-top: 20px;
}
/* 🔥 Platzhalter */
.deal-card img.placeholder{
    object-fit:contain;
    padding:20px;
    background:#f5f5f5;
}

.badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#ff4d4d;
    color:white;
    padding:5px 10px;
    border-radius:8px;
    font-size:12px;
}

.code{
    background:#2ecc71;
    color:white;
    padding:8px 12px;
    border-radius:8px;
    display:inline-block;
    margin-top:10px;
}

.btn{
    display:inline-block;
    margin-top:15px;
    background:#2ecc71;
    color:white;
    padding:12px 20px;
    border-radius:8px;
    text-decoration:none;
}