/* RabattFuchs – Hauptstylesheet */
:root {
  --orange: #ff7a1a;
  --orange-light: #ff9445;
  --orange-dark: #e0650b;
  --bg: #0e0e10;
  --bg-soft: #18181b;
  --bg-card: #1f1f23;
  --border: #2a2a30;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--orange-light);
}

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

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

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.5px;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.brand span.fuchs {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:hover {
  color: var(--orange);
}
.nav-links a.active {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 4rem;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 122, 26, 0.18),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 122, 26, 0.12),
      transparent 50%
    ),
    var(--bg);
}

.hero-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-content {
  text-align: center;
  margin-top: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero h1 .accent {
  color: var(--orange);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--orange);
  font-weight: 800;
}
.hero-stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* === Sections === */
section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.6px;
}
.section-head h2 .accent {
  color: var(--orange);
}
.section-head p {
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* === Categories === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition:
    transform 0.2s,
    border-color 0.2s;
  color: var(--text);
}
.cat:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  color: var(--text);
}
.cat .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.cat strong {
  display: block;
  margin-bottom: 0.2rem;
}
.cat span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === Posts Grid === */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.post-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a1809, #ff7a1a 200%);
  position: relative;
  overflow: hidden;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card .badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.post-card .body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.post-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.post-card h3 a {
  color: inherit;
}
.post-card h3 a:hover {
  color: var(--orange);
}
.post-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border);
}

/* === Newsletter === */
.newsletter {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 122, 26, 0.18),
      transparent 60%
    ),
    var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.newsletter h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.newsletter p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.6rem;
}
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.newsletter input[type="email"],
.newsletter input[type="text"] {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}
.newsletter input[type="email"]:focus,
.newsletter input[type="text"]:focus {
  border-color: var(--orange);
}
.newsletter input::placeholder {
  color: var(--text-muted);
}
.newsletter-optin {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  line-height: 1.5;
}
.newsletter-optin input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.newsletter-optin input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.newsletter-optin input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.newsletter-optin a {
  color: var(--orange);
}
.newsletter form .btn {
  margin-top: 0.4rem;
  align-self: center;
}
.newsletter small {
  display: block;
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.8rem;
}
.newsletter small a {
  color: var(--orange);
}

/* === Article (single post) === */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 0;
}
.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 0.8rem;
}
.article .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.article .cover {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem;
  color: var(--text);
}
.article p {
  margin-bottom: 1.1rem;
  color: #d4d4d8;
}
.article ul {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
  color: #d4d4d8;
}
.article li {
  margin-bottom: 0.4rem;
}
.article blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.4rem 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.3rem 0;
}

/* === Legal pages === */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 0;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.6px;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.7rem;
  color: var(--orange);
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.4rem 0 0.5rem;
}
.legal p {
  margin-bottom: 1rem;
  color: #d4d4d8;
}
.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #d4d4d8;
}
.legal li {
  margin-bottom: 0.3rem;
}
.legal a {
  word-break: break-word;
}

/* === Footer === */
.site-footer {
  margin-top: auto;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 0.8rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--orange);
}
.footer-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.footer-brand strong {
  font-size: 1.15rem;
  font-weight: 800;
}
.footer-brand strong .fuchs {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  z-index: 200;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.cookie-banner p a {
  color: var(--orange);
}
.cookie-banner .actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* === Utilities === */
.text-muted {
  color: var(--text-muted);
}
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 1rem;
}
