/* 
 * juschb.de - Stylesheet
 * Erstellt für externe Jugendschutzbeauftragte nach JMStV
 */

/* CSS-Variablen für einfache Anpassung */
:root {
  --primary-color: #2C3E50;    /* Dunkelblau - für Überschriften, wichtige Elemente */
  --secondary-color: #3498DB;  /* Hellblau - für Akzente, Links, Buttons */
  --accent-color: #2ECC71;     /* Grün - für Erfolgsmeldungen, positive Indikatoren */
  --text-color: #333333;       /* Dunkelgrau - für Fließtext */
  --bg-color: #F8F8F8;         /* Hellgrau - für Hauptinhaltsbereiche */
  --border-color: #DDDDDD;     /* Hellgrau - für subtile Trenner */
  --white: #FFFFFF;            /* Weiß - für Hintergründe, Kontraste */
  --error-color: #E74C3C;      /* Rot - für Fehlermeldungen */
  
  --header-height: 80px;
  --footer-height: 200px;
  --container-width: 1200px;
  
  --border-radius: 4px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Grundlegende Zurücksetzung */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typografie */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.3;
}

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

h2 {
  font-size: 2em;
  margin-bottom: 1.2rem;
}

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

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px; /* Increased from 80px to accommodate larger logo */
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px; /* Increased from 50px */
  margin-right: 10px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 160px 0 60px; /* Increased top padding from 120px to 160px */
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--secondary-color);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent-color);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.card-icon {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Features Section */
.features {
  text-align: center;
}

.feature-item {
  margin-bottom: 40px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.3em;
  margin-bottom: 15px;
}

/* Pricing Tables */
.pricing-table {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.pricing-table:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.pricing-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-duration {
  font-size: 0.9em;
  color: #777;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  margin-top: 20px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.form-error {
  color: var(--error-color);
  font-size: 0.9em;
  margin-top: 5px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background-color: var(--white);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  background-color: var(--white);
  padding: 20px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-top: -5px;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Partner Program */
.partner-benefits {
  list-style: none;
}

.partner-benefits li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.partner-benefits li:before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px; /* Increased from 40px */
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9em;
  opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 2.2em; }
  h2 { font-size: 1.8em; }
  h3 { font-size: 1.3em; }
  
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  header {
    height: 100px; /* Adjusted for mobile */
  }
  
  .logo img {
    height: 80px; /* Slightly smaller on mobile but still larger than original */
  }
  
  .hero {
    padding: 140px 0 40px; /* Adjusted for mobile */
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100px; /* Adjusted to match new header height */
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 15px 0;
  }
  
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
  
  .hero {
    padding: 100px 0 40px;
  }
  
  .hero h1 {
    font-size: 2em;
  }
  
  .pricing-table {
    margin-bottom: 30px;
  }
}

