/* Paulokat – Musikseite, warmes Feuer-Theme */

:root {
  --color-bg: #0c0806;
  --color-surface: rgba(26, 14, 10, 0.92);
  --color-surface-card: rgba(32, 18, 12, 0.88);
  --color-text: #faf3ed;
  --color-text-muted: #c4a48a;
  --color-border: rgba(234, 88, 12, 0.22);
  --fire-orange: #f97316;
  --fire-amber: #fbbf24;
  --fire-red: #dc2626;
  --fire-deep: #9a3412;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --paulokat-page-bg:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(220, 38, 38, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 85%, rgba(251, 191, 36, 0.07) 0%, transparent 45%),
    #0c0806;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[id="rise"],
[id="tracks"],
[id="cd"],
[id="support"],
[id="nb8"] {
  scroll-margin-top: 3.5rem;
}

body {
  font-family: var(--font-sans);
  background: var(--paulokat-page-bg);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 200, 150, 0.4) 2px,
    rgba(255, 200, 150, 0.4) 3px
  );
}

.paulokat-layout,
.paulokat-footer {
  position: relative;
  z-index: 1;
}

.paulokat-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.paulokat-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paulokat-page-bg);
  background-attachment: fixed;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.paulokat-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 1.5rem;
}

.paulokat-header-back {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.paulokat-header-back:hover {
  color: var(--fire-amber);
  background: rgba(249, 115, 22, 0.12);
}

.paulokat-header-back svg {
  width: 20px;
  height: 20px;
}

.paulokat-header-logo {
  height: 2rem;
  display: block;
}

/* Layout mit Sidebar */
.paulokat-layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.paulokat-sidebar {
  position: fixed;
  left: 0;
  top: 3.5rem;
  bottom: 0;
  z-index: 40;
  width: 200px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  transition: width 0.2s ease;
  overflow: hidden;
}

.paulokat-sidebar--collapsed {
  width: 56px;
}

.paulokat-sidebar-header {
  display: flex;
  height: 3rem;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--color-border);
  padding: 0 0.5rem;
}

.paulokat-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.paulokat-sidebar-toggle:hover {
  color: var(--fire-amber);
  background: rgba(249, 115, 22, 0.1);
}

.paulokat-sidebar-toggle svg {
  width: 20px;
  height: 20px;
}

.paulokat-sidebar--collapsed .paulokat-sidebar-toggle svg {
  transform: rotate(180deg);
}

.paulokat-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem;
  overflow-y: auto;
}

.paulokat-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.paulokat-sidebar-link:hover {
  color: var(--fire-amber);
  background: rgba(249, 115, 22, 0.1);
}

.paulokat-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.paulokat-sidebar-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.paulokat-sidebar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.paulokat-sidebar--collapsed .paulokat-sidebar-label {
  display: none;
}

.paulokat-sidebar--collapsed .paulokat-sidebar-link {
  justify-content: center;
  padding: 0.5rem;
}

/* Main Content */
.paulokat-main {
  flex: 1;
  overflow-x: hidden;
  margin-left: 200px;
  transition: margin-left 0.2s ease;
}

.paulokat-sidebar--collapsed ~ .paulokat-main {
  margin-left: 56px;
}

/* Sections */
.paulokat-section {
  padding: 3rem 0;
}

.paulokat-section--alt {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.paulokat-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, var(--fire-amber), var(--fire-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.paulokat-section-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.paulokat-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.paulokat-section hr {
  width: 200px;
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1rem 0 1.5rem;
  opacity: 0.6;
}

.paulokat-section p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.paulokat-section a:not(.paulokat-support-link) {
  color: var(--fire-orange);
  text-decoration: none;
  transition: color 0.2s;
}

.paulokat-section a:not(.paulokat-support-link):hover {
  color: var(--fire-amber);
  text-decoration: underline;
}

/* Hero */
.paulokat-hero {
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.paulokat-hero-tagline {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.paulokat-section iframe {
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

/* Cover */
.paulokat-cover {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--color-border);
  box-shadow:
    0 0 40px rgba(249, 115, 22, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Card */
.paulokat-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.paulokat-card--featured {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 0 32px rgba(220, 38, 38, 0.08);
}

.paulokat-card--featured:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.12);
}

.paulokat-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: block;
}

.paulokat-card h1 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* PayPal */
.paulokat-paypal {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.paulokat-paypal label {
  color: var(--color-text);
  font-weight: 500;
}

.paulokat-paypal select {
  width: 100%;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  background: rgba(12, 8, 6, 0.8);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.paulokat-paypal select:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.5);
}

.paulokat-paypal input[type="image"] {
  cursor: pointer;
}

/* Support-Links */
.paulokat-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.paulokat-support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.paulokat-support-link:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  color: var(--fire-amber);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.paulokat-support-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* nb-8 link */
.paulokat-card a {
  color: inherit;
  text-decoration: none;
}

.paulokat-card a:hover img {
  opacity: 0.9;
}

/* Mobile */
.paulokat-mobile-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  color: var(--fire-orange);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.paulokat-mobile-btn svg {
  width: 24px;
  height: 24px;
}

.paulokat-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.paulokat-mobile-overlay--open {
  pointer-events: auto;
}

.paulokat-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s;
}

.paulokat-mobile-overlay--open .paulokat-mobile-backdrop {
  opacity: 1;
}

.paulokat-mobile-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16rem;
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--color-border);
  transform: translateX(-100%);
  transition: transform 0.2s ease;
  padding: 1rem;
}

.paulokat-mobile-overlay--open .paulokat-mobile-sidebar {
  transform: translateX(0);
}

.paulokat-mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
}

.paulokat-mobile-link:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--fire-amber);
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .paulokat-sidebar {
    display: none;
  }

  .paulokat-main,
  .paulokat-sidebar--collapsed ~ .paulokat-main {
    margin-left: 0;
    padding-bottom: 5rem;
  }

  .paulokat-mobile-btn {
    display: flex;
  }

  .paulokat-mobile-overlay {
    display: block;
  }

  .paulokat-container {
    padding: 0 1rem;
  }

  .paulokat-header-inner {
    padding: 0 3.25rem;
  }

  .paulokat-section {
    padding: 2rem 0;
  }

  .paulokat-section h2,
  .paulokat-section-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .paulokat-section hr {
    width: 120px;
  }

  .paulokat-section p,
  .paulokat-section a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .paulokat-section iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    border: none;
  }

  .paulokat-card {
    padding: 1.25rem;
  }

  .paulokat-card h1 {
    font-size: 1.15rem;
  }

  .paulokat-paypal {
    padding: 1rem;
  }

  .paulokat-paypal input[type="image"] {
    max-width: 100%;
    height: auto;
  }

  .paulokat-support-links {
    flex-direction: column;
  }

  .paulokat-support-link {
    justify-content: center;
    width: 100%;
  }

  .paulokat-mobile-sidebar {
    max-width: 85vw;
  }

  .paulokat-mobile-link {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .paulokat-footer-inner {
    padding: 0 0.5rem;
  }

  .paulokat-legal-page {
    padding: 1.25rem 0 2.5rem;
  }

  .paulokat-legal-title {
    font-size: 1.35rem;
  }

  .paulokat-legal-body p,
  .paulokat-legal-body a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .danke-content {
    padding: 1.5rem 1rem !important;
    min-height: 50vh !important;
  }

  .danke-content h1 {
    font-size: 1.5rem !important;
  }

  .danke-content p {
    max-width: 100% !important;
  }
}

@media (max-width: 380px) {
  .paulokat-section h2,
  .paulokat-section-title {
    font-size: 1.2rem;
  }

  .paulokat-section iframe {
    height: 240px;
  }
}

/* Footer (Impressum / Datenschutz) */
.paulokat-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0;
  margin-top: auto;
}

.paulokat-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.paulokat-footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
}

.paulokat-footer-link:hover {
  color: var(--fire-amber);
  text-decoration: underline;
}

.paulokat-footer-sep {
  color: var(--color-border);
  user-select: none;
}

/* Eigenständige Rechtsseiten (Paulokat) */
.paulokat-legal-page {
  flex: 1;
  width: 100%;
  padding: 2rem 0 3rem;
}

.paulokat-legal-back {
  margin: 0 0 1.25rem;
}

.paulokat-legal-back-link {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.paulokat-legal-back-link:hover {
  color: var(--fire-amber);
  text-decoration: underline;
}

.paulokat-legal-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.paulokat-legal-body h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--color-text);
}

.paulokat-legal-body h2:first-of-type {
  margin-top: 0;
}

.paulokat-legal-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.paulokat-legal-body p:last-child {
  margin-bottom: 0;
}

.paulokat-legal-body strong {
  color: var(--color-text);
}

.paulokat-placeholder {
  font-style: italic;
  opacity: 0.85;
}
