/*
Theme Name: Ronnenberg Hochschulrecht
Theme URI: https://ronnenberg-hochschulrecht.de
Author: Kanzlei Ronnenberg
Author URI: https://ronnenberg-hochschulrecht.de
Description: Professionelles WordPress-Theme für Rechtsanwalt Marcus Ronnenberg – Spezialist für Studienplatzklagen und Hochschulrecht. Modernes, responsives Design mit interaktivem Chancenrechner.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ronnenberg
Tags: one-column, custom-menu, featured-images, translation-ready, custom-logo
*/

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2cbc63;
  --primary-dark: #25a857;
  --primary-light: #e8f8ef;
  --secondary: #f8f9fa;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #f8f9fa;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo .logo-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.site-logo .logo-text span {
  font-size: 11px;
  color: var(--gray);
}

/* Navigation */
.main-nav {
  display: none;
}

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

.main-nav ul li a {
  padding: 0.5rem 0.875rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
  color: var(--primary);
  background: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.header-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out);
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 188, 99, 0.3);
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 2rem 1rem;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li.current-menu-item a {
  color: var(--primary);
  background: var(--primary-light);
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-phone { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(44, 188, 99, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 188, 99, 0.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(44, 188, 99, 0.15);
  border: 1px solid rgba(44, 188, 99, 0.3);
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

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

.hero-badge span {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  margin-left: -8px;
}

.hero-trust .avatars span:first-child {
  margin-left: 0;
}

.hero-trust p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4rem; }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 4rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item .stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.section-gray {
  background: var(--light-gray);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-preview .about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-preview .about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge .badge-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.about-badge strong {
  font-size: 14px;
  color: var(--dark);
}

.about-badge span {
  font-size: 12px;
  color: var(--gray);
  display: block;
}

.about-list {
  margin-top: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 15px;
  color: var(--dark);
}

.about-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about-preview { grid-template-columns: 1fr 1fr; }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 188, 99, 0.2);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card .card-meta {
  font-size: 13px;
  color: var(--gray);
}

.card .card-value {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Studiengänge Cards Grid */
.cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author strong {
  font-size: 14px;
  color: var(--dark);
  display: block;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.data-table thead {
  background: var(--light-gray);
}

.data-table th {
  padding: 1rem;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.data-table td {
  padding: 1rem;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.data-table tbody tr:hover {
  background: rgba(44, 188, 99, 0.03);
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.badge-green {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-red {
  background: #fef2f2;
  color: #dc2626;
}

.badge-orange {
  background: #fff7ed;
  color: #ea580c;
}

.badge-yellow {
  background: #fefce8;
  color: #ca8a04;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 3fr 2fr; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--white);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 188, 99, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact Info Sidebar */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--dark);
}

.contact-info-item .small {
  font-size: 13px;
  color: var(--gray);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: var(--font-sans);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 188, 99, 0.2);
}

.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-card .blog-category {
  padding: 0.25rem 0.625rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
}

.blog-card .blog-date,
.blog-card .blog-time {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card .read-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.blog-card:hover .read-more svg {
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.footer-brand .footer-logo strong {
  font-size: 16px;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ===== CHANCENRECHNER ===== */
.calculator-section {
  padding: 3rem 0;
}

.calculator-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .calculator-layout { grid-template-columns: 2fr 3fr; }
}

.calculator-input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.fach-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.fach-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: var(--light-gray);
  color: var(--gray);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fach-tab:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.fach-tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(44, 188, 99, 0.3);
}

/* Range Slider */
.slider-group {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-header label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.slider-header .slider-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(44, 188, 99, 0.3);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(44, 188, 99, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* Results */
.calculator-results {
  min-height: 400px;
}

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
}

.results-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.results-placeholder .placeholder-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.results-placeholder h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.results-placeholder p {
  font-size: 14px;
  color: var(--gray);
  max-width: 300px;
}

/* Chart Area */
.chart-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.chart-container h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.chart-container .chart-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3rem;
  height: 200px;
  padding: 1rem 0;
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 120px;
}

.chart-bar .bar-wrapper {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: flex-end;
}

.chart-bar .bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: height 0.8s var(--ease-out);
}

.chart-bar .bar-normal {
  background: #94a3b8;
}

.chart-bar .bar-klage {
  background: var(--primary);
}

.chart-bar .bar-label {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
}

.chart-bar .bar-value {
  font-size: 1.25rem;
  font-weight: 800;
}

.results-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.result-box {
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.result-box.normal {
  background: var(--light-gray);
  border: 1px solid var(--border);
}

.result-box.klage {
  background: var(--primary-light);
  border: 1px solid rgba(44, 188, 99, 0.2);
}

.result-box .result-label {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.result-box.klage .result-label {
  color: var(--primary);
}

.result-box .result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.result-box.klage .result-value {
  color: var(--primary);
}

.result-box .result-diff {
  font-size: 12px;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* NC Table in Results */
.nc-table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.nc-table-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.nc-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nc-list-item:hover {
  background: var(--primary-light);
}

.nc-list-item .uni-name {
  font-size: 14px;
  color: var(--dark);
}

.nc-list-item .nc-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* Disclaimer */
.disclaimer-box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.disclaimer-box svg {
  width: 20px;
  height: 20px;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-box strong {
  font-size: 14px;
  color: #92400e;
  display: block;
  margin-bottom: 0.25rem;
}

.disclaimer-box p {
  font-size: 13px;
  color: #78350f;
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 4rem 0;
  background: var(--light-gray);
}

.page-header .section-label {
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .page-header { padding: 5rem 0; }
  .page-header h1 { font-size: 3rem; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (max-width: 1023px) {
  .hide-tablet { display: none !important; }
}
