/* ==========================================================================
   Prostata-Gesundheit Portal - Multi-Page Medical Authority Theme
   Designed for Google Ads Policy Compliance (Germany / DE) & E-E-A-T
   ========================================================================== */

:root {
  --primary-color: #0d5c75;
  --primary-hover: #084357;
  --secondary-color: #1995ad;
  --accent-color: #f4be41;
  --success-color: #16a34a;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(13, 92, 117, 0.08);
  --shadow-lg: 0 10px 25px rgba(13, 92, 117, 0.12);
  --radius: 12px;
  --transition: all 0.25s ease-in-out;
  --font-heading: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Top Announcement Bar --- */
.top-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Header & Navigation --- */
header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(25, 149, 173, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 6px 10px;
  border-radius: 6px;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--secondary-color);
  background-color: rgba(25, 149, 173, 0.08);
}

.btn-contact {
  background-color: var(--primary-color);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
}

.btn-contact:hover {
  background-color: var(--primary-hover) !important;
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 15px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.breadcrumbs span {
  margin: 0 8px;
  color: #cbd5e1;
}

/* --- Medical Reviewer Badge Bar (E-E-A-T) --- */
.medical-review-badge {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.medical-review-avatar {
  width: 48px;
  height: 48px;
  background-color: #16a34a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.medical-review-text {
  font-size: 0.92rem;
  color: #14532d;
}

.medical-review-text strong {
  color: #064e3b;
}

/* --- Trust Seals & Certifications Row --- */
.trust-seals-section {
  background-color: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-seals-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-seal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
}

.trust-seal-icon {
  font-size: 1.2rem;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #0d5c75 0%, #1995ad 100%);
  color: #ffffff;
  padding: 70px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.hero-card {
  background: #ffffff;
  color: var(--text-main);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  color: var(--primary-color);
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* --- Disclaimer Bar (Google Ads Policy Compliant) --- */
.disclaimer-bar {
  background-color: #e0f2fe;
  border-left: 4px solid var(--secondary-color);
  padding: 16px 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: #0369a1;
}

.disclaimer-bar strong {
  color: #0c4a6e;
}

/* --- Article & Page Header --- */
.article-header {
  margin-bottom: 35px;
}

.article-header h1 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

/* --- Section Styling --- */
section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-size: 2.1rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(25, 149, 173, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-color);
  gap: 10px;
}

/* --- Detailed Article Body --- */
.article-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 45px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.article-content h2 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin: 30px 0 16px;
}

.article-content h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin: 22px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--text-main);
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* --- Scientific References Box --- */
.references-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px;
  margin-top: 40px;
  font-size: 0.88rem;
}

.references-box h4 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1rem;
}

.references-box ol {
  padding-left: 20px;
  color: var(--text-muted);
}

.references-box li {
  margin-bottom: 8px;
}

/* --- Checklist Container --- */
.checklist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.checklist-column h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.checklist-icon {
  background: #f1f5f9;
  color: var(--secondary-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  display: none;
  line-height: 1.7;
}

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

/* --- Forms & Inputs --- */
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(25, 149, 173, 0.15);
}

.btn-submit {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* --- Contact & Emergency Info Section --- */
.contact-cta {
  background: linear-gradient(135deg, #0d5c75 0%, #084357 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  opacity: 0.9;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: #1e293b;
}

/* --- Footer --- */
footer {
  background-color: #0b192c;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* --- Cookie Consent Banner (DSGVO Compliant) --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 24px;
  z-index: 9999;
  border: 1px solid var(--border-color);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.btn-cookie-accept {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}

.btn-cookie-deny {
  background-color: #f1f5f9;
  color: var(--text-main);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  .hero-grid, .checklist-container, .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}
