/* ===========================
   KoelnOne WordPress Theme
   =========================== */

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card2: #181818;
  --text: #ffffff;
  --text-muted: #888888;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========= HEADER ========= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #f4622a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(230,57,70,0.35);
  transition: transform 0.2s;
}
.site-logo:hover .logo-icon { transform: scale(1.05); }

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.logo-accent { color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230,57,70,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.5);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-danger {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 4px 16px rgba(220,38,38,0.35);
}
.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

/* ========= STORE BUTTONS ========= */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: #fff;
  color: #000;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
  color: #000;
}

.store-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: none;
}
.store-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  box-shadow: none;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(230,57,70,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 60%, rgba(180,30,40,0.12) 0%, transparent 60%),
              #0a0a0a;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.text-accent { color: var(--primary); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 1200px; /* Grenze wird per Inline-Style aus dem Admin überschrieben */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.7));
}

/* ========= SECTIONS ========= */
.section { padding: 6rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========= FEATURES ========= */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========= ABOUT ========= */
.about { background: var(--bg-card); }

.about-inner { max-width: 640px; }

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ========= CTA ========= */
.cta { background: var(--bg); }

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(230,57,70,0.12) 0%, rgba(180,30,40,0.06) 100%);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: calc(var(--radius) * 1.5);
  padding: 4rem 3rem;
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-actions { justify-content: center; }

/* ========= FOOTER ========= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========= LEGAL PAGES ========= */
.legal-page {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }

.legal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.legal-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.legal-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.legal-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.legal-card a { color: var(--primary); }
.legal-card a:hover { text-decoration: underline; }

.legal-address {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.8;
  margin: 1rem 0;
}

.legal-table { width: 100%; border-collapse: collapse; color: var(--text-muted); font-size: 0.9rem; }
.legal-table td { padding: 0.4rem 0.5rem; }
.legal-table td:first-child { color: rgba(255,255,255,0.4); width: 100px; }

.legal-list { list-style: none; margin: 0.75rem 0; }
.legal-list li { display: flex; gap: 0.6rem; color: var(--text-muted); font-size: 0.9rem; padding: 0.35rem 0; }
.legal-list li::before { content: "✓"; color: var(--primary); flex-shrink: 0; }

/* ========= DELETE PAGE ========= */
.delete-header { align-items: center; }

.delete-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #f87171;
  flex-shrink: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.info-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.info-card strong { font-size: 0.875rem; display: block; margin-bottom: 0.25rem; }
.info-card p { color: var(--text-muted); font-size: 0.8rem; }

/* ========= FORM ========= */
.delete-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.required { color: var(--primary); }
.optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(230,57,70,0.5);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group textarea { resize: none; }

.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.radio-option input[type="radio"] { accent-color: var(--primary); }
.radio-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(230,57,70,0.08);
  color: #fff;
}

.warning-box {
  background: rgba(234,179,8,0.05);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(253,224,71,0.8);
  line-height: 1.6;
}

.success-message {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.success-message h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.success-message p { color: var(--text-muted); font-size: 0.9rem; }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
}

/* ========= UNTERSEITEN / LEGAL PAGES ========= */

.legal-page {
  min-height: 70vh;
  padding: 4rem 0 6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ccc;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}
.legal-content a:hover { text-decoration: underline; }

.legal-content ul, .legal-content ol {
  color: var(--muted);
  padding-left: 1.5rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.legal-content strong { color: #ccc; }

.legal-updated {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #555;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* WordPress editor content (Gutenberg/Klassischer Editor) */
.wp-content {
  color: var(--muted);
  line-height: 1.8;
}
.wp-content h1, .wp-content h2, .wp-content h3,
.wp-content h4, .wp-content h5, .wp-content h6 {
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.wp-content h1 { font-size: 1.8rem; border-bottom: 2px solid var(--primary); padding-bottom: 0.75rem; }
.wp-content h2 { font-size: 1.2rem; }
.wp-content h3 { font-size: 1rem; color: #ccc; }
.wp-content p  { margin-bottom: 1rem; }
.wp-content ul, .wp-content ol { padding-left: 1.5rem; margin-bottom: 1rem; line-height: 1.9; }
.wp-content a  { color: var(--primary); }
.wp-content a:hover { text-decoration: underline; }
.wp-content strong { color: #ccc; }
.wp-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(230,57,70,0.06);
  border-radius: 0 8px 8px 0;
  color: #aaa;
}
.wp-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem 0;
}
.wp-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.wp-content th, .wp-content td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.wp-content th { background: var(--card); color: var(--white); }

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(10,10,10,0.97); backdrop-filter: blur(20px); border-top: 1px solid var(--border); padding: 1.5rem; gap: 0.5rem; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; border-radius: 10px; font-size: 1rem; }
  .main-nav a:hover { background: rgba(255,255,255,0.05); }
  .mobile-menu-btn { display: flex; }
  .site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
  .cta-inner { padding: 2.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .legal-header { flex-direction: column; }
  .legal-page { padding: 2.5rem 0 4rem; }
}
