/* ========================================
   GESCHICHTSKULTUREN.DE - Custom Styles
   Design: Soft & Freundlich, Barrierefreiheit
   ======================================== */

/* ===== FARBVARIABLEN ===== */
:root {
  --primary-goldenrod: #D5A021;
  --secondary-salbeigruen: #9CAF88;
  --accent-taupe: #4B4237;
  --accent-rosy-granite: #A49694; 
  --text-taupe: #4B4237;
  --background-soft-linen: #EDE7D9;}

/* ===== GRUNDLEGENDES ===== */
body {
  background-color: var(--background-soft-linen) !important;
  color: var(--text-taupe) !important;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* ===== TYPOGRAFIE ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-taupe) !important;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* ===== LINKS ===== */
a {
  color: var(--primary-goldenrod) !important;
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--secondary-salbeigruen) !important;
  text-decoration: underline;
}

/* ===== NAVIGATION ===== */
#header {
  background-color: var(--background-soft-linen) !important;
  border-bottom: 2px solid var(--secondary-salbeigruen);
}

.navbar,
.navbar-default {
  background-color: var(--background-soft-linen) !important;
}

/* Navigation Links */
#header nav a,
.navbar a,
.navbar-nav > li > a {
  color: var(--text-taupe) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

#header nav a:hover,
#header nav a:focus,
.navbar a:hover,
.navbar a:focus,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: var(--primary-goldenrod) !important;
}

/* Aktiver Navigationspunkt */
#header nav .active a,
.navbar-nav > .active > a {
  color: var(--secondary-salbeigruen) !important;
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn,
.button,
a.button,
button,
input[type="submit"],
input[type="button"] {
  background-color: var(--primary-goldenrod) !important;
  color: white !important;
  border: 2px solid var(--primary-goldenrod) !important;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  line-height: 1.2;
  text-decoration: none !important;
}

.btn:hover,
.btn:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: var(--secondary-salbeigruen) !important;
  border-color: var(--secondary-salbeigruen) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sekundäre Buttons */
.btn-secondary,
.button-secondary {
  background-color: transparent !important;
  color: var(--primary-goldenrod) !important;
  border: 2px solid var(--primary-goldenrod) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-goldenrod) !important;
  color: white !important;
}

/* ===== KARTEN/BOXEN ===== */
.card,
.box,
.panel {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.card:hover,
.box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
#footer {
  background-color: var(--accent-taupe) !important;
  color: var(--background-soft-linen) !important;
  padding: 2rem 0;
  margin-top: 4rem;
}

#footer a {
  color: var(--secondary-salbeigruen) !important;}

#footer a:hover,
#footer a:focus {
  color: var(--primary-goldenrod) !important;
}

/* ===== FORMULARE ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
  background-color: white;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-goldenrod) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* ===== BARRIEREFREIHEIT ===== */
/* Focus-Styles für Tastaturnutzer */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-goldenrod);
  outline-offset: 2px;
}

/* Skip-Link für Screenreader */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-goldenrod);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ===== BESONDERE ELEMENTE ===== */
/* Hervorgehobene Boxen */
.highlight-box,
.callout {
  background-color: rgba(156, 175, 136, 0.1);
  border-left: 4px solid var(--secondary-salbeigruen);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* Info-Boxen */
.info-box {
  background-color: rgba(212, 165, 116, 0.1);
  border-left: 4px solid var(--primary-goldenrod);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* Zitate */
blockquote {
  border-left: 4px solid var(--accent-rosy-granite);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--accent-taupe);
}

/* ===== RESPONSIVE ANPASSUNGEN ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  .btn,
  button {
    padding: 0.6rem 1.2rem;
  }
}

/* ===== SPEZIELLE SEITENELEMENTE ===== */
/* Tool-Karten auf der Startseite */
.tool-card {
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.tool-card:hover {
  border-color: var(--secondary-salbeigruen);
  box-shadow: 0 6px 16px rgba(156, 175, 136, 0.15);
  transform: translateY(-4px);
}

.tool-card h3 {
  color: var(--secondary-salbeigruen) !important;
  margin-top: 0;
}

/* Logo-Bereich */
.logo img {
  max-height: 60px;
  width: auto;
}

/* ===== PRINT-STYLES ===== */
@media print {
  body {
    background-color: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
  
  #header,
  #footer,
  nav {
    display: none;
  }
}
/* ===== TOOL-GRID (3 Kacheln nebeneinander) ===== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
.tool-card {
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  border-color: var(--secondary-salbeigruen);
  box-shadow: 0 6px 16px rgba(156, 175, 136, 0.15);
  transform: translateY(-4px);
}

.tool-card h3 {
  color: var(--secondary-salbeigruen) !important;
  margin-top: 0;
  font-size: 1.5rem;
}

.tool-card .tool-subtitle {
  font-weight: 600;
  color: var(--accent-taupe);
  margin-bottom: 1rem;
}

.tool-card .tool-features {
  font-size: 0.9rem;
  color: var(--accent-rosy-granite);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.tool-card .button {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

/* Responsive: Auf Mobile nur 1 Spalte */
@media (max-width: 768px) {
  .tool-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
