/* ===== Variables – Grün-Grau Theme ===== */
:root {
  --bg-dark: #12151a;
  --bg-card: #1c2128;
  --bg-elevated: #252b34;
  --gray-100: #eef1f4;
  --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.28);
  --accent-muted: #1e3a2a;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(34, 197, 94, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(34, 197, 94, 0.06), transparent 45%),
    linear-gradient(180deg, #0f1216 0%, var(--bg-dark) 40%, #151a20 100%);
  background-attachment: fixed;
  color: var(--gray-100);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

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; }
}

.nav-links a.is-active {
  color: var(--green-bright);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 7rem clamp(1.25rem, 4vw, 4rem) 4rem;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero > .hero-content,
.hero > .hero-visual {
  max-width: 560px;
}
.hero > .hero-content {
  margin-left: max(0px, calc((100vw - 1200px) / 2 + 1.5rem));
}
.hero > .hero-visual {
  margin-right: max(0px, calc((100vw - 1200px) / 2 + 1.5rem));
  justify-self: end;
}

.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;
  animation: rise-in 0.9s var(--transition) both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-bright);
  background: rgba(34, 197, 94, 0.12);
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  color: var(--gray-100);
}
.hero h1 .highlight {
  color: var(--green-bright);
  background: linear-gradient(120deg, #4ade80, #22c55e 60%, #86efac);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 28px 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: min(320px, 70vw);
  height: min(380px, 82vw);
  animation: float-soft 5.5s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.pc-case {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, rgba(74, 222, 128, 0.15) 0%, transparent 35%),
    linear-gradient(145deg, #1a1f26 0%, #2a313c 55%, #1c222a 100%);
  border-radius: 22px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.pc-case::before {
  content: '';
  position: absolute;
  inset: 12% 18% 28% 18%;
  border-radius: 8px;
  background: linear-gradient(180deg, #0b0e12, #151a22);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 0 40px rgba(34, 197, 94, 0.15);
}
.pc-case::after {
  content: '';
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 6px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 16px var(--green-glow);
}
.pc-glow {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 48px;
  background: var(--green-glow);
  filter: blur(28px);
  border-radius: 50%;
  animation: pulse-glow 3.2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@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 input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}
.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}
.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);
}

.footer-links-block {
  margin-bottom: 1rem;
}

.footer-links-block strong {
  color: var(--gray-200);
}

.footer-links-block p {
  margin: 0.25rem 0 0 0;
}

.footer-links-block a {
  color: var(--green-bright);
}

.footer-links-block a:hover {
  text-decoration: underline;
}

/* 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;
  }
}

/* ===== Page shells (Reparatur / Termin / Forms) ===== */
.page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
}
.page-hero--compact {
  margin-bottom: 2rem;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}
.page-hero .highlight {
  color: var(--green-bright);
}
.page-hero-text {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 38rem;
}
.form-panel {
  background: rgba(28, 33, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.stack-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}
.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--gray-100);
}
.stack-form input:focus-visible,
.stack-form textarea:focus-visible,
.stack-form select:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}
.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}
.check-row input { width: auto !important; margin: 0.2rem 0 0 !important; }
.form-aside {
  margin-top: 1.25rem;
  color: var(--gray-400);
  font-size: 0.9rem;
}
.muted { color: var(--gray-400); }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.slot-btn {
  padding: 0.7rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-elevated);
  color: var(--gray-200);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.slot-btn:hover {
  border-color: rgba(74, 222, 128, 0.45);
  transform: translateY(-1px);
}
.slot-btn.is-selected {
  border-color: var(--green-bright);
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-bright);
  font-weight: 600;
}
.slot-selected {
  color: var(--green-bright);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Service cards polish */
.card {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.95), rgba(28, 33, 40, 0.98));
}
.card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

/* Reveal on scroll (optional class) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Auth / Kundenbereich ===== */
.auth-page {
  padding: 6.5rem 1.25rem 4rem;
  max-width: 440px;
  margin: 0 auto;
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.96), rgba(28, 33, 40, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.05),
    0 20px 48px rgba(0, 0, 0, 0.28);
  animation: auth-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.auth-brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 0 0 0.5rem;
}

.auth-page h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gray-100);
  margin: 0 0 0.35rem;
}

.auth-page .hint {
  color: var(--gray-400);
  font-size: 0.92rem;
  margin: 0 0 1.35rem;
  line-height: 1.5;
}

.auth-page label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}

.auth-page input:not([type="checkbox"]),
.auth-page textarea,
.auth-page select {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-page input:focus,
.auth-page textarea:focus,
.auth-page select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.auth-page textarea {
  min-height: 80px;
  resize: vertical;
}

.auth-feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: none;
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-feedback.visible { display: block; }
.auth-feedback.error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}
.auth-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.auth-page .btn { width: 100%; margin-top: 0.35rem; }

.auth-links {
  margin-top: 1.35rem;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.92rem;
}

.auth-links a { color: var(--green-bright); font-weight: 500; }

#invalid-token { display: none; }

.auth-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 1rem !important;
  font-size: 0.9rem;
  color: var(--gray-300);
  font-weight: 400 !important;
}

.auth-check input {
  width: auto !important;
  margin: 0.2rem 0 0 !important;
  flex-shrink: 0;
}

/* Mein Konto */
.account-page {
  padding: 5.5rem 1.25rem 4rem;
  max-width: 920px;
  margin: 0 auto;
}

.account-hero {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-page h1 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gray-100);
  margin: 0 0 0.3rem;
}

.account-page .subtitle {
  color: var(--gray-400);
  margin: 0;
  font-size: 1rem;
}

.account-actions {
  margin: 1.15rem 0 0;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.account-section {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.92), rgba(28, 33, 40, 0.98));
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  animation: auth-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.account-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-bright);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.account-loading {
  color: var(--gray-400);
  padding: 0.85rem 0;
  font-size: 0.95rem;
}

.account-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 21, 26, 0.4);
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.account-table th,
.account-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-table th {
  color: var(--gray-400);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.12);
}

.account-table tbody tr:hover {
  background: rgba(74, 222, 128, 0.04);
}

.account-table tbody tr:last-child td {
  border-bottom: none;
}

.account-table .status-paid { color: var(--green-bright); }
.account-table .status-pending { color: #fde047; }
.account-table .total {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green-bright);
}

.account-table .order-action-cell { white-space: nowrap; }

.account-table .btn-complete-order {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  background: var(--green-bright);
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.account-table .btn-complete-order:hover { opacity: 0.88; }

.ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticket-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-list li:last-child { border-bottom: none; }
.ticket-list a { color: var(--green-bright); font-weight: 500; }
.ticket-status { font-size: 0.85rem; color: var(--gray-400); }

.btn-small {
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.account-form label {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}

.account-form input,
.account-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.account-form input:focus,
.account-form textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.account-form textarea {
  min-height: 80px;
  resize: vertical;
}

.account-form .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.35rem;
}

.profile-feedback,
.password-feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: none;
  font-size: 0.92rem;
}

.profile-feedback.visible,
.password-feedback.visible { display: block; }

.profile-feedback.success,
.password-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.profile-feedback.error,
.password-feedback.error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}

.account-gate {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.92), rgba(28, 33, 40, 0.98));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.account-gate .account-actions {
  justify-content: center;
}

/* Ticket pages */
.ticket-page {
  padding: 5.5rem 1.25rem 4rem;
  max-width: 680px;
  margin: 0 auto;
}

.ticket-page h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-100);
  margin: 0 0 0.5rem;
}

.ticket-shell {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.92), rgba(28, 33, 40, 0.98));
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.ticket-meta {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0 0 1.35rem;
}

.ticket-messages { margin-bottom: 1.35rem; }

.ticket-msg {
  background: rgba(18, 21, 26, 0.45);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-msg.customer { border-left: 3px solid var(--green-bright); }
.ticket-msg.support { border-left: 3px solid var(--gray-400); }

.ticket-msg-head {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0.45rem;
}

.ticket-msg-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--gray-200);
  line-height: 1.55;
}

.ticket-reply { margin-top: 1.25rem; }

.ticket-reply textarea,
.ticket-page input,
.ticket-page textarea,
.ticket-page select {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 0.85rem;
  min-height: auto;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ticket-reply textarea,
.ticket-page textarea {
  min-height: 110px;
  resize: vertical;
}

.ticket-page label {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}

.ticket-reply textarea:focus,
.ticket-page input:focus,
.ticket-page textarea:focus,
.ticket-page select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.ticket-loading {
  color: var(--gray-400);
  padding: 2rem 0;
  text-align: center;
}

.ticket-feedback {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: none;
  font-size: 0.92rem;
}

.ticket-feedback.visible { display: block; }
.ticket-feedback.error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}
.ticket-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

@media (max-width: 640px) {
  .auth-card,
  .account-section,
  .ticket-shell {
    padding: 1.35rem 1.15rem;
  }
  .account-page h1 { font-size: 1.4rem; }
}

/* ===== Design-Polish 2026 ===== */
.header.is-scrolled {
  background: rgba(15, 18, 22, 0.94);
  border-bottom-color: rgba(74, 222, 128, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}
.header.is-scrolled .logo {
  letter-spacing: -0.02em;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--transition);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active {
  color: var(--green-bright);
}

.logo span:last-child {
  letter-spacing: -0.03em;
}

.btn {
  letter-spacing: -0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn-primary {
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
}
.btn-primary:hover {
  background: var(--green-bright);
  color: #0a0c0f;
}
.btn-secondary {
  backdrop-filter: blur(6px);
}

.hero-brand {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 0 0 0.85rem;
  animation: rise-in 0.7s var(--transition) both;
}
.hero-content {
  animation: rise-in 0.9s var(--transition) both;
}
.hero-visual {
  animation: rise-in 1.1s 0.12s var(--transition) both;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  pointer-events: none;
}
.pc-case {
  animation: case-pulse 6s ease-in-out infinite;
}
@keyframes case-pulse {
  0%, 100% { border-color: rgba(74, 222, 128, 0.3); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08); }
  50% { border-color: rgba(74, 222, 128, 0.55); box-shadow: 0 12px 40px rgba(34, 197, 94, 0.18), inset 0 1px 0 rgba(255,255,255,0.1); }
}
.pc-case::before {
  animation: screen-glow 4s ease-in-out infinite;
}
@keyframes screen-glow {
  0%, 100% { box-shadow: inset 0 0 40px rgba(34, 197, 94, 0.12); }
  50% { box-shadow: inset 0 0 55px rgba(34, 197, 94, 0.28); }
}

.section {
  position: relative;
}
.section-title {
  letter-spacing: -0.03em;
}
.section-subtitle {
  max-width: 36rem;
}

.abverkauf-teaser {
  gap: 0.85rem;
}
.abverkauf-teaser-box {
  background: linear-gradient(135deg, rgba(37, 43, 52, 0.95), rgba(28, 33, 40, 0.9));
  border-radius: 14px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.abverkauf-teaser-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  border-color: rgba(74, 222, 128, 0.4);
}
.abverkauf-teaser-arrow {
  transition: transform var(--transition);
}
.abverkauf-teaser-box:hover .abverkauf-teaser-arrow {
  transform: translateX(4px);
  color: var(--green-bright);
}

.page-shell {
  position: relative;
}
.page-shell::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 90vw);
  height: 220px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-shell > * {
  position: relative;
  z-index: 1;
}
.page-hero--compact {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.75rem;
}
.page-hero .highlight {
  background: linear-gradient(120deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.form-panel {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.95), rgba(28, 33, 40, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.22);
  animation: rise-in 0.5s var(--transition) both;
}
.stack-form input,
.stack-form textarea,
.stack-form select {
  background: var(--bg-dark);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

/* Abverkauf (shared) */
.abverkauf-page {
  padding: 5.5rem 1.25rem 4rem;
}
.abverkauf-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
  animation: rise-in 0.55s var(--transition) both;
}
.abverkauf-intro h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--gray-100);
  margin-bottom: 0.55rem;
}
.abverkauf-intro p {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.6;
}
.abverkauf-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.pc-sale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pc-sale-card {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.96), rgba(28, 33, 40, 0.99));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: rise-in 0.55s var(--transition) both;
}
.pc-sale-card:hover {
  border-color: rgba(34, 197, 94, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.pc-sale-card-image {
  height: 190px;
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.pc-sale-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--transition);
}
.pc-sale-card:hover .pc-sale-card-image img {
  transform: scale(1.04);
}
.pc-sale-card-image img[data-loaded="false"] { display: none !important; }
.pc-sale-card-image-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  color: rgba(74, 222, 128, 0.22);
}
.pc-sale-card-image img[data-loaded="false"] + .pc-sale-card-image-fallback { display: flex; }
.pc-sale-card-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  justify-content: center;
  flex-wrap: wrap;
}
.pc-sale-card-thumbs img {
  width: 36px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.8;
}
.pc-sale-card-thumbs img:hover,
.pc-sale-card-thumbs img.active {
  opacity: 1;
  border-color: var(--green-bright);
}
.pc-sale-card-body {
  padding: 1.35rem 1.45rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pc-sale-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-100);
  margin-bottom: 0.45rem;
}
.pc-sale-card-specs {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.pc-sale-card-price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-bright);
  margin-bottom: 1rem;
}
.pc-sale-card-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-400);
}
.pc-sale-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Checkout */
.checkout-page {
  padding: 5.5rem 1.25rem 4rem;
  max-width: 560px;
  margin: 0 auto;
}
.checkout-page h1 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--gray-100);
  margin-bottom: 0.35rem;
}
.checkout-brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin: 0 0 0.35rem;
}
.checkout-summary {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.96), rgba(28, 33, 40, 0.99));
  border-radius: 16px;
  padding: 1.35rem 1.45rem;
  margin: 1.25rem 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  animation: rise-in 0.45s var(--transition) both;
}
.checkout-summary-thumb {
  width: 108px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.checkout-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-summary-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  width: 100%;
}
.checkout-summary-body { flex: 1; min-width: 0; }
.checkout-summary h2 {
  font-size: 1.1rem;
  color: var(--gray-100);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.checkout-summary .price {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--green-bright);
}
.checkout-form {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.92), rgba(28, 33, 40, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem 1.45rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}
.checkout-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.checkout-form textarea {
  min-height: 80px;
  resize: vertical;
}
.payment-options {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 1.15rem;
  flex-wrap: wrap;
}
label.payment-option,
.payment-option {
  flex: 1;
  min-width: 130px;
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  margin: 0 !important;
  padding: 0.85rem 1rem;
  background: rgba(18, 21, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-weight: 500;
  color: var(--gray-200);
  font-size: 0.95rem;
}
.payment-option input {
  width: auto !important;
  margin: 0 !important;
}
.payment-option:has(input:checked) {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-bright);
}
.checkout-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: none;
}
.checkout-error.visible { display: block; }
.checkout-guest-choice {
  background: linear-gradient(165deg, rgba(37, 43, 52, 0.95), rgba(28, 33, 40, 0.98));
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.35rem;
}
.checkout-guest-choice p {
  margin: 0 0 1rem;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.5;
}
.checkout-guest-choice .checkout-guest-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.checkout-guest-choice .btn-guest {
  background: transparent;
  border: 1px solid var(--green-bright);
  color: var(--green-bright);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition);
}
.checkout-guest-choice .btn-guest:hover {
  background: rgba(74, 222, 128, 0.15);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 10px;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}
.account-empty a {
  font-weight: 600;
}
.account-section {
  transition: border-color var(--transition), transform var(--transition);
}
.account-section:hover {
  border-color: rgba(74, 222, 128, 0.18);
}

.quick-contact {
  animation: rise-in 0.6s 0.4s var(--transition) both;
}
.cookie-banner {
  animation: rise-in 0.35s var(--transition) both;
}

@media (prefers-reduced-motion: reduce) {
  .pc-case,
  .pc-case::before,
  .pc-silhouette,
  .hero-content,
  .hero-visual,
  .hero-brand,
  .form-panel,
  .pc-sale-card,
  .checkout-summary,
  .quick-contact {
    animation: none !important;
  }
}
