/* beng.rocks - Schlichtes, elegantes & minimalistisches Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0b0d13;
  --bg-surface: #121620;
  --bg-surface-hover: #181d2a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.08);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background-color: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-icon {
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-icon {
  transform: rotate(8deg) scale(1.06);
}

.brand-ext {
  color: var(--text-subtle);
  font-weight: 400;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Language switch in header */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

/* Main */
main {
  flex: 1;
  padding: 3.5rem 0 4rem;
}

/* Minimal Hero / Landing */
.home-intro {
  margin-bottom: 2.75rem;
}

.home-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.home-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* Nav Cards / Links */
.link-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .link-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.link-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.link-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-card-arrow {
  color: var(--text-subtle);
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-card:hover .link-card-arrow {
  color: var(--text);
  transform: translateX(3px);
}

.link-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Legal Pages */
.legal-card {
  background: transparent;
}

.page-title {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.notice-banner {
  background: var(--accent-soft);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notice-banner svg {
  flex-shrink: 0;
  stroke: var(--accent);
}

.notice-banner strong {
  color: var(--text);
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.35rem;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-section li {
  margin-bottom: 0.35rem;
}

.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  white-space: pre-line;
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
}

.link-styled {
  color: var(--accent);
  text-decoration: none;
}

.link-styled:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
  background-color: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy strong {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-subtle);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
}
