/* =======================================
   Modern Dark Theme CSS
   ======================================= */

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

/* Base Body Styles */
body {
  background-color: #121212; /* Dark background */
  color: #e0e0e0;            /* Light text for contrast */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
}

/* Optional Container to Center Content & Constrain Width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Headings */
/* Main Title */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

/* Sub Title */
h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #e0e0e0;
  text-align: center;
}

/* Section Titles */
h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
  border-bottom: 2px solid #0cf57e; /* Accent color */
  padding-bottom: 5px;
}

h3 {
  font-size: 1.7rem;
  margin-top: 26px;
  margin-bottom: 8px;
  color: #ffffff;
  padding-bottom: 5px;
}

/* Paragraph Text */
p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Links */
a {
  color: #1e90ff;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #63b3ed;
}

/* Images (if any) */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  p {
    font-size: 0.95rem;
  }
}

/* =======================================
   Header Section Styles
   ======================================= */
.site-header {
  background-color: #1e1e1e;  /* Dark background for header */
  padding: 15px 20px;
  margin-bottom: 30px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styles */
.logo img {
  max-width: 100%;
  height: auto;
}

/* Navigation Styles */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-nav li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.site-nav li a:hover {
  color: #0cf57e; /* Accent color on hover */
}

/* Responsive Adjustments for Header */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

/* =======================================
   Footer Section Styles
   ======================================= */
.site-footer {
  background-color: #1e1e1e;  /* Dark background for footer */
  color: #e0e0e0;
  padding: 40px 20px;
  margin-top: 40px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 0 10px;
}
.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #ffffff;
  border-bottom: 1px solid #0cf57e; /* Accent color */
  padding-bottom: 5px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section li {
  margin-bottom: 10px;
}
.footer-section li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section li a:hover {
  color: #0cf57e; /* Accent color on hover */
}
/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-section {
    margin-bottom: 20px;
  }
}
/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #0cf57e; /* Accent color */
  margin-top: 20px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* =======================================
   Intro Section Styles
   ======================================= */
.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}
.intro p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: center;
}

/* =======================================
   Cities Section Styles
   ======================================= */
.cities h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.city-box {
  background-color: #1e1e1e;
  padding: 20px;
  text-align: center;
  border: 1px solid #0cf57e; /* Accent border */
  text-decoration: none;
  color: #e0e0e0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.city-box:hover {
  background-color: #0cf57e; /* Accent background on hover */
  transform: translateY(-5px);
  color: #121212; /* Dark text on accent background */
}
.city-box h3 {
  margin: 0;
  font-size: 1.5rem;
}

/* =======================================
   Pop Call to Action Section Styles
   ======================================= */
   .cta-pop {
    background: linear-gradient(135deg, #0cf57e, #0ae06b);
    color: #121212;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(12, 245, 126, 0.5);
    margin: 40px 0;
  }
  
  .cta-pop h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .cta-pop p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .cta-pop .btn-cta {
    display: inline-block;
    background-color: #121212;
    color: #0cf57e;
    border: 2px solid #0cf57e;
    padding: 12px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .cta-pop .btn-cta:hover {
    background-color: #0cf57e;
    color: #121212;
  }
  
/* =======================================
   Kontakt Button Styles
   ======================================= */
   .btn-kontakt {
    display: inline-block;
    background-color: #0cf57e;
    color: #121212;
    padding: 12px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 3px 6px rgba(12, 245, 126, 0.4);
    margin: 20px 0; /* Adds spacing from adjacent elements */
  }
  
  .btn-kontakt:hover {
    background-color: #0ae06b;
    color: #121212;
    box-shadow: 0 4px 8px rgba(12, 245, 126, 0.6);
  }
  

/* === Table Base Tokens (hell/dunkel) === */
:root{
  --tbl-bg: #ffffff;
  --tbl-text: #111827;        /* neutral-900 */
  --tbl-muted: #6b7280;       /* neutral-500 */
  --tbl-border: #e5e7eb;      /* neutral-200 */
  --tbl-header-bg: #f3f4f6;   /* neutral-100 */
  --tbl-row-alt: #fafafa;
  --tbl-accent: #10b981;      /* teal/emerald line */
  --tbl-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
}

@media (prefers-color-scheme: dark){
  :root{
    --tbl-bg: #0f1216;        /* sehr dunkles Grau */
    --tbl-text: #e5e7eb;
    --tbl-muted: #9ca3af;
    --tbl-border: #1f2937;
    --tbl-header-bg: #151a20;
    --tbl-row-alt: #12161c;
    --tbl-accent: #34d399;
    --tbl-shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35);
  }
}

/* === Wrapper (macht die Tabelle mobil scrollbar) === */
.table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 2rem;
  border-radius: 12px;
  box-shadow: var(--tbl-shadow);
  background: linear-gradient(var(--tbl-accent), var(--tbl-accent)) 0 0/100% 3px no-repeat, var(--tbl-bg);
}

/* === Tabelle === */
.expert-table{
  width: 100%;
  border-collapse: separate;          /* erlaubt Radius + spacing */
  border-spacing: 0;
  color: var(--tbl-text);
  background: transparent;
  font-size: 0.985rem;
  line-height: 1.45;
}

/* Caption als Headline unter der grünen Linie */
.expert-table caption{
  text-align: left;
  font-weight: 700;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.35rem);
  color: var(--tbl-text);
  padding: 14px 16px 6px;
}

/* Header */
.expert-table thead th{
  position: sticky;           /* bleibt sichtbar, wenn horizontal gescrolled wird */
  top: 0;
  z-index: 1;
  background: var(--tbl-header-bg);
  color: var(--tbl-text);
  text-align: left;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tbl-border);
  white-space: nowrap;
}

/* Zellen */
.expert-table td{
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--tbl-border);
}

/* Zebra + Hover */
.expert-table tbody tr:nth-child(even){
  background: var(--tbl-row-alt);
}
.expert-table tbody tr:hover{
  background: color-mix(in oklab, var(--tbl-row-alt) 70%, var(--tbl-header-bg));
}

/* Typo-Feinschliff */
.expert-table td strong{
  font-weight: 700;
}
.expert-table td,
.expert-table th{
  word-break: break-word;
  hyphens: auto;
}

/* Erste Spalte minimal mehr Luft */
.expert-table tbody td:first-child{
  max-width: 26ch;
}

/* Kleine Screens: etwas kompakter */
@media (max-width: 720px){
  .expert-table{
    font-size: 0.95rem;
  }
  .expert-table thead th,
  .expert-table td{
    padding: 10px 12px;
  }
}


