@import url("../fonts/inter.css");

:root {
  
  --primary: #0284c7; 
  --primary-dark: #0369a1; 
  --primary-deeper: #0f172a; 
  --primary-light: #e0f2fe; 
  --primary-xlight: #f0f9ff; 
  --accent: #00bcd4; 
  --accent-soft: #bae6fd; 

  --bg-main: #f1f5f9; 
  --bg-sidebar: #ffffff; 
  --bg-card: #ffffff; 

  --text-dark: #0f172a; 
  --text-body: #334155; 
  --text-muted: #64748b; 

  --border-color: #bae6fd; 
  --border-light: #f0f9ff; 
  --shadow-sm: 0 1px 4px rgba(2, 132, 199, 0.08); 
  --shadow-md: 0 4px 20px rgba(2, 132, 199, 0.12); 
  --shadow-lg: 0 10px 40px rgba(2, 132, 199, 0.18); 

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  background-color: var(--bg-main);
  color: var(--text-dark);
  height: 100vh;
  overflow: hidden;
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.sidebar {
  width: 270px;
  min-width: 270px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 4px 4px;
}

.sidebar-header {
  padding: 24px 20px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sidebar-header .logo-text small {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.sidebar-menu {
  flex-grow: 1;
  padding: 18px 12px;
  overflow-y: auto;
}

.menu-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.menu-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 10px;
  font-weight: 600;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  color: var(--text-body);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  text-align: left;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.menu-item:hover {
  background-color: var(--primary-xlight);
  color: var(--primary);
}

.menu-item:hover .icon svg {
  color: var(--primary);
}

.menu-item.aktiv {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-xlight)
  );
  color: var(--primary-dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.menu-item.aktiv::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-footer::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.main-content {
  flex-grow: 1;
  padding: 36px 52px;
  overflow-y: auto;
  height: 100%;
  background-color: var(--bg-main);
}

.content-box {
  max-width: 820px;
  margin: 0 auto;
}

.page-fade-in {
  animation: fadeSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-fade-out {
  animation: fadeSlideOut 0.18s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--primary-deeper);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

code {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: "Consolas", "Fira Code", monospace;
  font-size: 0.88em;
  border: 1px solid var(--border-color);
}

.home-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 28px 22px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.2), transparent 70%);
  pointer-events: none;
}

.home-title {
  font-size: 1.85rem;
  margin-bottom: 10px;
  color: var(--primary-deeper);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-subtitle {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.75;
}

.home-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 26px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.home-section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.home-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-xlight)
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.feature-body {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.feature-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-deeper);
}

.feature-text {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.65;
}

.page-wrapper {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
}

.page-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.page-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-deeper);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.info-card {
  background: var(--primary-xlight);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-card .card-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.info-card-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.info-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.warn-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.warn-card .card-icon {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.warn-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.65;
}

.steps-card {
  background: #f0f9ff; 
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.steps-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-card-title svg {
  color: var(--primary);
}

.steps-list {
  margin: 0 0 0 20px;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps-list li b {
  color: var(--primary-dark);
}

.tip-card {
  background: var(--primary-xlight);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tip-card svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-card {
  margin-top: 24px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.faq-title {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q {
  font-weight: 700;
  font-size: 0.9rem;
  color: #78350f;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.7;
  margin-bottom: 0;
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 60px;
}

.loader::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.lucide {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

.menu-item .icon {
  display: inline-flex;
  align-items: center;
}

.menu-item svg.lucide {
  width: 1.1em;
  height: 1.1em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.menu-item.aktiv svg.lucide,
.menu-item:hover svg.lucide {
  color: var(--primary);
}

.highlight-box {
  background: var(--primary-xlight);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.highlight-box p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.92rem;
  r: var(--text-muted);
  text-align: center;
  margin-top: 50px;
}

.lucide {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
.menu-item .icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu-item svg.lucide {
  width: 1.15em;
  height: 1.15em;
}
