/* ========================================
   RESET & GRUNDEINSTELLUNGEN
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ========================================
   FARB-VARIABLEN
   ======================================== */

:root {
  --primary-color: #2d8fa3;
  --secondary-color: #f5f7fa;
  --light-color: #fff;
  --dark-color: #1f2121;
  --border-radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  background: var(--light-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.contact-btn {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-btn:hover {
  background: #1f6f7f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 4rem 0;
}

.hero-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-photo img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--dark-color);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
  background: white;
  padding: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #1f6f7f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 4rem 0;
}

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

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ========================================
   SERVICES
   ======================================== */

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-column ul {
  list-style: none;
}

.service-column li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(45, 143, 163, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.service-column strong {
  color: var(--dark-color);
  display: block;
  margin-bottom: 0.5rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.about-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-content p {
  line-height: 1.8;
  color: #555;
}

/* ========================================
   FEATURE GRID
   ======================================== */

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

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(45, 143, 163, 0.1);
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* ========================================
   PRICING
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.price-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.price {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price span {
  color: var(--primary-color);
  font-weight: 700;
}

.billing-details {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.travel-costs {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.travel-costs h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ========================================
   TEASER-ARTIKEL (HAUPTLAYOUT FIX)
   ======================================== */

.article-teaser {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 2rem;
}

.article-teaser:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Bildspalte - FESTE HÃƒâ€“HE FÃƒÅ“R INDEX.HTML */
.teaser-image {
  flex: 0 0 320px;
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 240px;
}

/* Bilder fÃƒÂ¼llen DIE GANZE BOX */
.teaser-image img,
.teaser-image picture img,
.teaser-image figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Picture/Figure - KEINE aspect-ratio */
.teaser-image picture,
.teaser-image figure {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}

.teaser-image picture img,
.teaser-image figure img {
  height: 100%;
  object-fit: cover;
}

/* Textspalte */
.teaser-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.teaser-content h2 {
  font-size: 1.4rem;
  color: var(--dark-color);
  margin: 0;
  line-height: 1.3;
}

.teaser-date {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

.teaser-excerpt {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

/* ========================================
   TOOLKIT CTA SECTION
   ======================================== */

.toolkit-cta-section {
  background: linear-gradient(135deg, #2d8fa3 0%, #1f6f7f 100%);
  padding: 3rem 0;
  color: white;
}

.toolkit-cta-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-features {
  list-style: none;
  margin-bottom: 2rem;
}

.cta-features li {
  padding: 0.5rem 0;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FAQ
   ======================================== */

.faq-wrapper {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

details {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

details:last-child {
  border-bottom: none;
}

details summary {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

details summary::after {
  content: "+";
  font-size: 1.5rem;
  transition: var(--transition);
}

details[open] summary::after {
  content: "Ã¢Ë†â€™";
}

details p {
  margin-top: 1rem;
  color: #555;
  line-height: 1.6;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.contact-photo img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.contact-details h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #333;
  margin-bottom: 1rem;
  transition: var(--transition);
  font-weight: 500;
}

.info-item:hover {
  color: var(--primary-color);
}

.info-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(45, 143, 163, 0.1);
  border-radius: 50%;
}

.info-item svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--dark-color);
  color: white;
  padding: 2rem 0;
  margin-top: auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p {
  margin: 0.5rem 0;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  text-decoration: underline;
}

/* ========================================
   ANIMATIONEN
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
  .hero-flex {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .services-wrapper {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teaser-image {
    flex-basis: 260px;
    height: 200px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .toolkit-cta-section .container {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav ul {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header .container {
    padding: 1rem 15px;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .article-teaser {
    flex-direction: column;
    gap: 1rem;
  }

  .teaser-image {
    flex-basis: auto;
    width: 100%;
    height: 220px;
  }

  .teaser-content {
    padding: 1rem;
  }

  .teaser-content h2 {
    font-size: 1.2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }
}

/* ========================================
   TOOLS-SEKTION: Bilder vertikal zentriert
   ======================================== */
#tools-page {
  background-color: var(--secondary-color);
}

#tools-page .section-title {
  text-align: center !important;
}

#tools-page .section-subtitle {
  text-align: center !important;
}

/* Teaser-Box */
#tools-page .article-teaser {
  display: flex !important;
  align-items: stretch !important;
  gap: 2rem !important;
  background: white !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 2rem !important;
  margin-bottom: 2rem !important;
  overflow: visible !important;
  min-height: 280px !important;
}

#tools-page .article-teaser:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-3px) !important;
}

/* BILDSPALTE: Vertikal und horizontal zentriert */
#tools-page .teaser-image {
  flex: 0 0 280px !important;
  height: 280px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: white !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #f0f0f0 !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

#tools-page .teaser-image picture,
#tools-page .teaser-image figure {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

#tools-page .teaser-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* TEXTSPALTE */
#tools-page .teaser-content {
  flex: 1 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

#tools-page .teaser-content h2 {
  font-size: 1.3rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

#tools-page .teaser-excerpt {
  flex-grow: 1 !important;
  margin-bottom: 1rem !important;
}

#tools-page .btn {
  margin-top: auto !important;
  align-self: flex-start !important;
}

/* Mobile */
@media (max-width: 768px) {
  #tools-page .article-teaser {
    flex-direction: column !important;
    min-height: auto !important;
    padding: 1.5rem !important;
  }
  
  #tools-page .teaser-image {
    flex-basis: auto !important;
    width: 100% !important;
    height: 250px !important;
  }
}