/* ===== Variables – Grün-Grau Theme ===== */
:root {
  --bg-dark: #1a1d21;
  --bg-card: #23272c;
  --bg-elevated: #2a2f36;
  --gray-100: #e8eaed;
  --gray-200: #c5c9d0;
  --gray-300: #9ca3af;
  --gray-400: #6b7280;
  --gray-500: #4b5563;
  --green-primary: #22c55e;
  --green-bright: #4ade80;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.25);
  --accent-muted: #2d4a36;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--gray-100);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--green-bright);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--green-primary);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 29, 33, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-100);
}
.logo:hover { color: var(--green-bright); }
.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--green-glow));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--gray-200);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--green-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  gap: 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green-bright);
  background: var(--accent-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--gray-100);
}
.hero h1 .highlight {
  color: var(--green-bright);
  text-shadow: 0 0 40px var(--green-glow);
}

.hero-text {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--green-primary);
  color: var(--bg-dark);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px var(--green-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--green-bright);
  border: 2px solid var(--green-primary);
}
.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.1);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-silhouette {
  position: relative;
  width: 280px;
  height: 320px;
}
.pc-case {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(34, 197, 94, 0.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
}
.pc-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 40px;
  background: var(--green-glow);
  filter: blur(25px);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5rem;
  }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .pc-silhouette { width: 220px; height: 260px; }
}

/* ===== Sections ===== */
.section {
  padding: 4rem 1.5rem;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* ===== Services ===== */
.services {
  background: var(--bg-card);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.25rem;
  color: var(--gray-100);
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.abverkauf-teaser {
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.abverkauf-teaser-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.abverkauf-teaser-box:hover {
  border-color: rgba(34, 197, 94, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.abverkauf-teaser-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.abverkauf-teaser-box strong {
  color: var(--green-bright);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
}
.abverkauf-teaser-box p {
  margin: 0;
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.4;
}
.abverkauf-teaser-arrow {
  color: var(--green-bright);
  font-size: 1.25rem;
  margin-left: auto;
}

/* ===== Prices ===== */
.prices {
  background: var(--bg-dark);
}
.price-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  justify-items: center;
}
.price-tables > .price-block:not(.price-block-wide) {
  width: 100%;
  max-width: 320px;
}
.price-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.price-block-wide {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  justify-self: center;
}
.price-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--green-bright);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}
.price-icon {
  font-size: 1.4rem;
}
.price-note {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.price-list {
  list-style: none;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
}
.price-list li:last-child {
  border-bottom: none;
}
.item-name {
  color: var(--gray-200);
  font-size: 0.95rem;
}
.item-price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--green-bright);
  white-space: nowrap;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-card);
}
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: none;
}
.form-feedback:not(:empty) {
  display: block;
}
.form-feedback--success {
  background: var(--accent-muted);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-bright);
}
.form-feedback--error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
}
.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--gray-100);
  transition: border-color var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-500);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-primary);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-full { width: 100%; }
.contact-info {
  padding: 1.25rem;
  background: var(--accent-muted);
  border-radius: var(--radius);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.contact-info p {
  color: var(--gray-300);
  font-size: 0.95rem;
}
.contact-info strong {
  color: var(--gray-100);
}

/* ===== Footer ===== */
.footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer p {
  color: var(--gray-500);
  font-size: 0.9rem;
}
.footer-oeffnungszeiten {
  margin-bottom: 1rem;
}
.footer-oeffnungszeiten strong {
  color: var(--gray-200);
}

/* Skip to content (Barrierefreiheit) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--green-primary);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Über uns */
.ueber-uns {
  background: var(--bg-card);
}
.ueber-uns-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* FAQ */
.faq {
  background: var(--bg-card);
}
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--gray-100);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  float: right;
  color: var(--green-bright);
  font-size: 1.2rem;
}
.faq-item[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  margin-top: 0;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-top: 1px solid rgba(34, 197, 94, 0.3);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner p {
  margin: 0;
  color: var(--gray-300);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}
.cookie-banner a {
  color: var(--green-bright);
  text-decoration: underline;
}

/* Quick-Contact (Telefon / WhatsApp) */
.quick-contact {
  position: fixed;
  bottom: 1.5rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.quick-contact:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}
.quick-contact-phone {
  right: 1.5rem;
  background: var(--green-primary);
  color: var(--bg-dark);
}
.quick-contact-whatsapp {
  right: 5rem;
  background: #25d366;
  color: #fff;
}
@media (max-width: 600px) {
  .quick-contact-whatsapp {
    right: 4.5rem;
  }
}
