/* ============================================================
   SL Rentals – Haupt-Stylesheet
   ============================================================ */

/* CSS-Variablen werden dynamisch per PHP gesetzt (style-Tag im Header) */
:root {
  --primary: #E8500A;
  --primary-dark: #C04008;
  --dark: #1A1A1A;
  --text: #333333;
  --gray: #F5F5F5;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  background: var(--dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  transition: all var(--transition);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 5%;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.nav-logo { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-icon {
  width:42px; height:42px; background:var(--primary);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  font-weight:900; color:white; font-size:16px; letter-spacing:-1px; flex-shrink:0;
}
.logo-text { color:white; font-size:1.25rem; font-weight:700; letter-spacing:0.5px; white-space:nowrap; }
.logo-text span { color:var(--primary); }

.nav-links { display:flex; gap:28px; }
.nav-links a {
  color:#bbb; font-size:0.9rem; letter-spacing:0.3px;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color:white; border-color:var(--primary); }

.nav-right { display:flex; align-items:center; gap:16px; }
.nav-cta {
  background:var(--primary); color:white; padding:9px 22px;
  border-radius:7px; font-weight:600; font-size:0.85rem;
  transition: background var(--transition), transform var(--transition);
  white-space:nowrap;
}
.nav-cta:hover { background:var(--primary-dark); transform:translateY(-1px); }

/* Burger */
.nav-burger {
  display:none; flex-direction:column; justify-content:center;
  gap:5px; background:none; border:none; padding:6px; width:36px; height:36px;
}
.nav-burger span {
  display:block; height:2px; background:white; border-radius:2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display:none; position:fixed; inset:70px 0 0 0;
  background:var(--dark); z-index:999;
  flex-direction:column; padding:30px 5%;
}
.mobile-nav-overlay ul { flex-direction:column; gap:0; }
.mobile-nav-overlay li { border-bottom:1px solid rgba(255,255,255,0.07); }
.mobile-nav-overlay a {
  display:block; padding:18px 0; color:#ddd; font-size:1.05rem; font-weight:500;
  transition: color var(--transition);
}
.mobile-nav-overlay a:hover { color:var(--primary); }
.mobile-cta {
  display:inline-block !important; margin-top:20px;
  background:var(--primary); color:white !important; padding:14px 30px !important;
  border-radius:8px; font-weight:700 !important; text-align:center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 580px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 60px 5%;
}
.hero::before {
  content:'';
  position:absolute; top:0; right:0; bottom:0; width:55%;
  background:linear-gradient(135deg, rgba(232,80,10,0.12) 0%, rgba(232,80,10,0.04) 100%);
  clip-path:polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:60px; align-items:center; width:100%; max-width:1280px; margin:0 auto;
  position:relative; z-index:1;
}
.hero-badge {
  display:inline-block; background:rgba(232,80,10,0.2); color:var(--primary);
  border:1px solid rgba(232,80,10,0.4); padding:5px 15px; border-radius:20px;
  font-size:0.8rem; font-weight:700; letter-spacing:1px; margin-bottom:20px;
  text-transform:uppercase;
}
.hero h1 {
  font-size:clamp(2rem, 3.5vw, 3rem); font-weight:800; color:white;
  line-height:1.15; margin-bottom:20px;
}
.hero h1 span { color:var(--primary); }
.hero-sub { color:#aaa; font-size:1.05rem; line-height:1.7; margin-bottom:35px; max-width:460px; }
.hero-buttons { display:flex; gap:15px; flex-wrap:wrap; }

.btn-primary {
  background:var(--primary); color:white; padding:14px 30px;
  border-radius:8px; font-weight:700; font-size:1rem;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 4px 20px rgba(232,80,10,0.4);
  transition: all var(--transition);
}
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-2px); color:white; }
.btn-outline {
  background:transparent; color:white; padding:14px 30px;
  border-radius:8px; font-weight:600; font-size:1rem;
  border:2px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.btn-outline:hover { border-color:var(--primary); color:var(--primary); }

.hero-stats {
  display:flex; gap:35px; margin-top:45px; padding-top:35px;
  border-top:1px solid rgba(255,255,255,0.08);
}
.stat-num { font-size:2rem; font-weight:800; color:var(--primary); display:block; }
.stat-label { color:#888; font-size:0.75rem; text-transform:uppercase; letter-spacing:0.5px; }

/* Hero Card */
.hero-visual { position:relative; display:flex; justify-content:center; }
.hero-card {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  border-radius:16px; padding:25px; width:300px; backdrop-filter:blur(10px);
}
.hero-card-img {
  width:100%; height:180px;
  background:linear-gradient(135deg, #2a2a2a, #3d3d3d);
  border-radius:10px; margin-bottom:15px;
  display:flex; align-items:center; justify-content:center; font-size:4rem;
  overflow:hidden;
}
.hero-card-img img { width:100%; height:100%; object-fit:cover; }
.hero-card-tag {
  background:rgba(232,80,10,0.2); color:var(--primary);
  font-size:0.7rem; font-weight:700; padding:3px 10px; border-radius:20px;
  display:inline-block; margin-bottom:8px; text-transform:uppercase;
}
.hero-card-name { color:white; font-weight:700; font-size:1.1rem; margin-bottom:5px; }
.hero-card-price { color:#888; font-size:0.85rem; }
.hero-card-price strong { color:var(--primary); font-size:1.1rem; }
.hero-float-badge {
  position:absolute; top:-15px; right:-20px;
  background:var(--primary); color:white; border-radius:12px; padding:12px 18px;
  font-size:0.8rem; font-weight:700; box-shadow:0 8px 25px rgba(232,80,10,0.5);
}
.hero-float-badge small { display:block; font-weight:400; opacity:0.8; font-size:0.7rem; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-section {
  background:white; padding:22px 5%;
  box-shadow:0 4px 30px rgba(0,0,0,0.07);
  position:relative; z-index:10;
}
.search-form {
  max-width:900px; margin:0 auto;
  display:flex; border-radius:10px; overflow:hidden;
  box-shadow:0 2px 20px rgba(0,0,0,0.1); border:2px solid var(--primary);
}
.search-form select,
.search-form input {
  border:none; outline:none; background:white;
  color:var(--text); font-family:inherit; font-size:0.95rem;
  padding:13px 18px;
}
.search-form select { border-right:1px solid #eee; min-width:180px; cursor:pointer; }
.search-form input { flex:1; }
.search-form button {
  background:var(--primary); color:white; border:none;
  padding:13px 28px; font-weight:700; font-size:0.95rem; white-space:nowrap;
  transition:background var(--transition);
}
.search-form button:hover { background:var(--primary-dark); }

/* ============================================================
   SECTIONS (gemeinsam)
   ============================================================ */
.section { padding: 80px 5%; }
.section-gray { background:var(--gray); }
.section-dark { background:var(--dark); }
.inner { max-width:1280px; margin:0 auto; }

.section-label {
  color:var(--primary); font-size:0.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:2px; margin-bottom:10px;
}
.section-title { font-size:clamp(1.6rem, 2.5vw, 2.2rem); font-weight:800; margin-bottom:14px; color:var(--dark); }
.section-title.white { color:white; }
.section-sub { color:#777; font-size:0.97rem; line-height:1.7; max-width:520px; margin-bottom:50px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:20px; }
.cat-card {
  background:white; border-radius:14px; padding:30px 20px;
  text-align:center; cursor:pointer;
  border:2px solid transparent;
  box-shadow:0 2px 12px rgba(0,0,0,0.05);
  transition: all var(--transition); position:relative; overflow:hidden;
  text-decoration:none; display:block;
}
.cat-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background:var(--primary); transform:scaleX(0); transition:transform var(--transition);
}
.cat-card:hover { border-color:var(--primary); box-shadow:0 8px 30px rgba(232,80,10,0.12); transform:translateY(-4px); }
.cat-card:hover::after { transform:scaleX(1); }
.cat-icon { font-size:2.8rem; margin-bottom:14px; display:block; }
.cat-name { font-weight:700; font-size:0.98rem; color:var(--dark); margin-bottom:4px; }
.cat-count { color:#999; font-size:0.8rem; }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:25px; }

.prod-card {
  background:white; border-radius:14px; overflow:hidden;
  box-shadow:var(--shadow); border:1px solid #eee;
  transition: all var(--transition); display:flex; flex-direction:column;
}
.prod-card:hover { transform:translateY(-5px); box-shadow:0 15px 40px rgba(0,0,0,0.12); }

.prod-img {
  height:220px; background:var(--gray);
  display:flex; align-items:center; justify-content:center;
  font-size:3.5rem; position:relative; overflow:hidden;
}
.prod-img img { width:100%; height:100%; object-fit:cover; }
.prod-avail {
  position:absolute; top:12px; left:12px;
  background:#22c55e; color:white; font-size:0.7rem; font-weight:700;
  padding:3px 10px; border-radius:20px; text-transform:uppercase;
}
.prod-unavail { background:#ef4444; }

.prod-body { padding:20px; flex:1; display:flex; flex-direction:column; }
.prod-cat { color:var(--primary); font-size:0.75rem; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:6px; }
.prod-name { font-weight:700; font-size:1.05rem; color:var(--dark); margin-bottom:8px; }
.prod-desc { color:#888; font-size:0.85rem; line-height:1.5; flex:1; margin-bottom:15px; }
.prod-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:15px; border-top:1px solid #f0f0f0;
}
.prod-price { font-size:1.2rem; font-weight:800; color:var(--dark); }
.prod-price small { font-size:0.75rem; font-weight:400; color:#999; }
.prod-btn {
  background:var(--primary); color:white; padding:9px 18px;
  border-radius:8px; font-weight:600; font-size:0.85rem;
  transition:background var(--transition);
}
.prod-btn:hover { background:var(--primary-dark); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-wrap { position:relative; }
.steps-line {
  position:absolute; top:35px; left:10%; right:10%; height:2px;
  background:linear-gradient(90deg, var(--primary), rgba(232,80,10,0.2));
}
.steps-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; position:relative; z-index:1; }
.step { text-align:center; }
.step-num {
  width:70px; height:70px; background:var(--primary); color:white;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; font-weight:800; margin:0 auto 20px;
  box-shadow:0 4px 20px rgba(232,80,10,0.35);
}
.step h3 { font-size:0.97rem; font-weight:700; color:var(--dark); margin-bottom:8px; }
.step p { color:#888; font-size:0.85rem; line-height:1.6; }

/* ============================================================
   USPs
   ============================================================ */
.usps-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.usp-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
  border-radius:14px; padding:35px 30px; position:relative; overflow:hidden;
}
.usp-card::before {
  content:''; position:absolute; top:-20px; right:-20px;
  width:120px; height:120px;
  background:radial-gradient(circle, rgba(232,80,10,0.25) 0%, transparent 70%);
}
.usp-icon { font-size:2.2rem; margin-bottom:18px; }
.usp-card h3 { font-size:1.1rem; font-weight:700; color:white; margin-bottom:10px; }
.usp-card p { color:#aaa; font-size:0.88rem; line-height:1.7; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding:70px 5%; text-align:center; color:white;
}
.cta-section h2 { font-size:clamp(1.8rem, 3vw, 2.5rem); font-weight:800; margin-bottom:15px; }
.cta-section p { font-size:1.05rem; opacity:0.88; margin-bottom:35px; }
.btn-white {
  background:white; color:var(--primary); padding:14px 36px;
  border-radius:8px; font-weight:700; font-size:1rem;
  transition:all var(--transition); display:inline-block;
}
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(0,0,0,0.2); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.prod-detail-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:60px; align-items:start; }
.prod-detail-img {
  border-radius:16px; overflow:hidden; background:var(--gray);
  height:400px; display:flex; align-items:center; justify-content:center; font-size:6rem;
}
.prod-detail-img img { width:100%; height:100%; object-fit:cover; }
.prod-detail-price-box {
  background:var(--gray); border-radius:14px; padding:28px;
  margin:25px 0;
}
.prod-detail-price { font-size:2.2rem; font-weight:800; color:var(--primary); }
.prod-detail-price small { font-size:0.9rem; color:#888; font-weight:400; }
.prod-detail-price-week { color:#666; font-size:0.9rem; margin-top:6px; }

/* ============================================================
   CONTACT / FORMS
   ============================================================ */
.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:60px; align-items:start; }
.contact-info h3 { font-size:1.1rem; font-weight:700; color:var(--dark); margin:20px 0 10px; }
.contact-info p { color:#777; font-size:0.92rem; line-height:1.7; }
.contact-info a { color:var(--primary); }

.form-group { margin-bottom:20px; }
.form-group label { display:block; font-weight:600; font-size:0.88rem; margin-bottom:6px; color:var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; border:2px solid #e0e0e0; border-radius:8px;
  padding:12px 15px; font-size:0.95rem; font-family:inherit;
  transition:border-color var(--transition); background:white; color:var(--text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline:none; border-color:var(--primary); }
.form-group textarea { min-height:130px; resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.form-privacy {
  display:flex; align-items:flex-start; gap:10px; margin:20px 0;
  font-size:0.85rem; color:#666;
}
.form-privacy input[type="checkbox"] { margin-top:2px; flex-shrink:0; width:16px; height:16px; }
.form-privacy a { color:var(--primary); }

.btn-submit {
  background:var(--primary); color:white; border:none;
  padding:14px 32px; border-radius:8px; font-weight:700; font-size:1rem;
  transition:all var(--transition); width:100%;
}
.btn-submit:hover { background:var(--primary-dark); transform:translateY(-2px); }

.alert { padding:14px 18px; border-radius:8px; margin-bottom:20px; font-size:0.92rem; }
.alert-success { background:#dcfce7; color:#166534; border:1px solid #bbf7d0; }
.alert-error   { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width:800px; }
.legal-content h2 { font-size:1.4rem; font-weight:700; margin:35px 0 12px; color:var(--dark); }
.legal-content h3 { font-size:1.1rem; font-weight:700; margin:25px 0 8px; color:var(--dark); }
.legal-content p  { color:#555; line-height:1.8; margin-bottom:14px; }
.legal-content ul { color:#555; line-height:1.8; padding-left:20px; list-style:disc; margin-bottom:14px; }
.legal-content a  { color:var(--primary); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background:var(--gray); padding:12px 5%; border-bottom:1px solid #e8e8e8;
}
.breadcrumb-inner { max-width:1280px; margin:0 auto; font-size:0.85rem; color:#888; }
.breadcrumb a { color:var(--primary); }
.breadcrumb span { margin:0 8px; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background:linear-gradient(135deg, #1a1a1a, #2d2d2d);
  padding:60px 5%; color:white; text-align:center;
}
.page-hero h1 { font-size:clamp(1.8rem, 3vw, 2.8rem); font-weight:800; margin-bottom:12px; }
.page-hero p { color:#aaa; font-size:1.02rem; max-width:550px; margin:0 auto; }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge { display:inline-block; padding:3px 10px; border-radius:20px; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.3px; }
.badge-green  { background:#dcfce7; color:#166534; }
.badge-red    { background:#fee2e2; color:#991b1b; }
.badge-orange { background:rgba(232,80,10,0.12); color:var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background:#111; color:#aaa; padding:60px 5% 30px; }
.footer-inner { max-width:1280px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
.footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-about p { font-size:0.85rem; line-height:1.7; color:#666; max-width:280px; }
.footer-col h4 { color:white; font-size:0.88rem; font-weight:700; margin-bottom:16px; letter-spacing:0.3px; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:#666; font-size:0.85rem; transition:color var(--transition); }
.footer-col ul li a:hover { color:var(--primary); }
.footer-bottom {
  border-top:1px solid #222; padding-top:25px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:0.8rem; color:#555;
}
.footer-bottom-links { display:flex; gap:20px; }
.footer-bottom-links a { color:#555; transition:color var(--transition); }
.footer-bottom-links a:hover { color:var(--primary); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:9000;
}
.cookie-banner {
  position:fixed; bottom:20px; left:50%; transform:translateX(-50%);
  width:calc(100% - 40px); max-width:860px;
  background:#111; color:white; border-radius:16px; padding:28px 32px;
  display:flex; align-items:flex-start; gap:30px; flex-direction:column;
  box-shadow:0 10px 50px rgba(0,0,0,0.5); z-index:9001;
  border:1px solid rgba(255,255,255,0.08);
}
.cookie-inner { width:100%; }
.cookie-banner h3 { color:white; font-size:1.05rem; margin-bottom:10px; }
.cookie-banner p { color:#aaa; font-size:0.85rem; line-height:1.6; margin-bottom:18px; }
.cookie-banner a { color:var(--primary); }
.cookie-options { display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.cookie-option { display:flex; flex-direction:column; gap:2px; cursor:pointer; }
.cookie-option input { margin-right:8px; }
.cookie-option strong { font-size:0.88rem; color:white; }
.cookie-option span { font-size:0.8rem; color:#777; padding-left:22px; }
.cookie-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.btn-cookie-ess, .btn-cookie-sel, .btn-cookie-all {
  padding:10px 20px; border-radius:8px; border:none; font-weight:600; font-size:0.85rem;
  transition:all var(--transition);
}
.btn-cookie-ess { background:rgba(255,255,255,0.08); color:white; }
.btn-cookie-ess:hover { background:rgba(255,255,255,0.15); }
.btn-cookie-sel { background:rgba(255,255,255,0.12); color:white; }
.btn-cookie-sel:hover { background:rgba(255,255,255,0.2); }
.btn-cookie-all { background:var(--primary); color:white; }
.btn-cookie-all:hover { background:var(--primary-dark); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align:center; }
.mt-2 { margin-top:20px; }
.mb-2 { margin-bottom:20px; }
.no-products { text-align:center; padding:60px 20px; color:#aaa; }
.no-products span { font-size:4rem; display:block; margin-bottom:20px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity:0; transform:translateY(20px); transition:opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero-grid { gap:40px; }
  .prod-detail-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 768px) {
  .nav-links { display:none; }
  .nav-burger { display:flex; }
  .hero { padding:50px 5%; }
  .hero-grid { grid-template-columns:1fr; text-align:center; }
  .hero-visual { display:none; }
  .hero-buttons { justify-content:center; }
  .hero-stats { justify-content:center; }
  .steps-grid { grid-template-columns:1fr 1fr; }
  .steps-line { display:none; }
  .usps-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .search-form select { min-width:130px; }
  .form-row { grid-template-columns:1fr; }
}

@media (max-width: 480px) {
  .section { padding:60px 5%; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .hero-stats { flex-direction:column; gap:20px; }
  .cookie-buttons { flex-direction:column; }
  .btn-cookie-ess, .btn-cookie-sel, .btn-cookie-all { text-align:center; }
}
