:root {
  --cassiopeia-color-primary: #ffffff;
  --cassiopeia-color-link: #1e3a8a;
  --cassiopeia-color-hover: #60a5fa;
  --cassiopeia-color-copyright: transparent;  
}

/* Start: Protect your email and phone number from spam bots */
span.rev { unicode-bidi:bidi-override; direction:rtl }
span.rev.email:before { content:" hc.rru" }
span.rev.phone:before { content:"6228 345 " }
span.rev.email:after { content:"@st" }
span.rev.phone:after { content:" 14+ " }
/* End: Protect your email and phone number from spam bots */


/* Moves the navigation little bit to the top for cosmetic reasons */
.container-header nav {
 margin-top:-2em;
 padding:0
}

/* Changes the backgroud color of the header */
.container-header {
    background-color: var(--cassiopeia-color-primary);
    background-image: none;
}

/* Changes the header menu color */
.container-header .mod-menu {
  color:var(--cassiopeia-color-link);
  flex:1 0 100%;
  margin:0;
  padding:0;
  list-style:none;
  font-weight: 600;
}

/* Changes the header menu on hover */
.container-header .mod-menu a {
  padding: 3px 15px;
  color: var(--cassiopeia-color-link);
  text-decoration:none;
}

/* Changes the header menu color on hover */
.container-header .mod-menu a:hover {
  background-color: var(--cassiopeia-color-link);
  color: var(--cassiopeia-color-primary);
}

/* Changes the header current menu marker color on hover */
.container-header .metismenu>li>a:hover:after,
.container-header .metismenu>li>button:hover:before,
.container-header .metismenu>li.active>a:after,
.container-header .metismenu>li.active>button:before {
  background: #010101;
  left:0;
  right:0
}

a {
  color:var(--cassiopeia-color-link)
}

a:not([class]) {
 text-decoration:none;
}

.footer {
  color:#4e4d4f;
  background-color:var(--cassiopeia-color-primary);
  background-image:linear-gradient(135deg,var(--cassiopeia-color-primary)0%,var(--cassiopeia-color-hover)100%);
  margin-top:1em
}

.back-to-top-link {
  color:var(--cassiopeia-color-link);
}

/* ===================================
   CUSTOM STYLES FÜR SCHURR.CH
   Farbschema: Dunkelblau/Professionell
   
   NUR CONTENT STYLING
   (Header, Navigation, Footer werden über Joomla Standard verwaltet)
   =================================== */

/* ===================================
   ALLGEMEINE VERBESSERUNGEN
   =================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   SECTIONS
   =================================== */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e3a8a;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #34495e;
}

.content-section h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}

.bg-light {
    background-color: #f8f9fa;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    margin-bottom: 30px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
    text-decoration: none;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-section .btn-primary,
.cta-section .btn-primary {
    background-color: white;
    color: #1e3a8a;
    border-color: white;
}

.hero-section .btn-primary:hover,
.cta-section .btn-primary:hover {
    background-color: #f8f9fa;
    color: #1e40af;
    border-color: #f8f9fa;
}

/* ===================================
   PROFILE SECTION
   =================================== */
.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.profile-image {
    width: 100%;
}

.profile-image img {
    width: 60%;
    height: auto;
    border-radius: 8px;
}

.profile-text {
    width: 100%;
}

/* ===================================
   PROCESS STEPS
   =================================== */
.process-step {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-left: 4px solid #1e3a8a;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.process-step h3 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: 1.4rem;
}

.process-step p {
    margin-bottom: 0;
}

/* ===================================
   EXAMPLE CASES
   =================================== */
.example-case {
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.example-case h3 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.example-case p {
    margin-bottom: 10px;
}

.example-case p:last-child {
    margin-bottom: 0;
}

/* ===================================
   FAQ ITEMS
   =================================== */
.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: white;
}

.cta-section a {
    color: white;
}

/* ===================================
   TYPOGRAPHY IMPROVEMENTS
   =================================== */
.content-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-section ul {
    line-height: 1.8;
    margin-bottom: 20px;
    margin-left: 25px;
}

.content-section ul li {
    margin-bottom: 10px;
}

.content-section strong {
    font-weight: 600;
    color: #2c3e50;
}

/* ===================================
   TABLE STYLING
   =================================== */
.table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table th {
    background-color: #1e3a8a;
    color: white;
    font-weight: 500;
    padding: 15px;
    text-align: left;
}

.table td {
    padding: 15px;
    border: 1px solid #dee2e6;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Text Alignment */
.text-center {
    text-align: center !important;
}

/* Image Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

/* Margins */
.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.05rem;
    }
    
    /* Content Sections */
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .content-section h4 {
        font-size: 1.2rem;
    }
    
    /* Profile */
    .profile-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Buttons */
    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Tables */
    .table {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    /* Hero Section */
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
    }
    
    /* Content Sections */
    .content-section {
        padding: 35px 0;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section h3 {
        font-size: 1.4rem;
    }
    
    .content-section p,
    .content-section ul {
        font-size: 1rem;
    }
    
    /* Process Steps */
    .process-step {
        padding: 20px;
    }
    
    /* Example Cases */
    .example-case {
        padding: 20px;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
}

/* ===================================
   SMOOTH SCROLLING
   =================================== */
html {
    scroll-behavior: smooth;
}

/* Offset für Header bei Ankern (Standard Joomla Header-Höhe) */
section[id] {
    scroll-margin-top: 100px;
}

/* Falls dein Header kleiner/größer ist, passe diesen Wert an */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}

/* ===================================
   JOOMLA OVERRIDES (Optional)
   =================================== */

/* Entferne Standard-Margins vom Joomla Content-Bereich falls nötig */
.com-content-article__body {
    margin: 0;
    padding: 0;
}

/* Stelle sicher, dass Joomla Sections kein extra Padding haben */
.item-page {
    padding: 0;
}

/* Joomla Navigation & Links in Blau */
.navbar-nav .nav-link:hover {
    color: #1e3a8a;
}

a {
    color: #1e3a8a;
}

a:hover {
    color: #1e40af;
}

/* ===================================
   TEXT LOGO CSS FÜR MOD-CUSTOM117
   Variante 1: Inter - Modern & Professionell
   =================================== */

/* ===================================
   LOGO STYLING
   =================================== */

/* Haupt-Logo Container */
#mod-custom117,
.mod-custom117 {
    padding: 0;
    margin: 0;
}

/* Logo Text */
#mod-custom117 a,
.mod-custom117 a,
#mod-custom117 .logo,
.mod-custom117 .logo,
#mod-custom117 .brand,
.mod-custom117 .brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

/* Logo Hover-Effekt */
#mod-custom117 a:hover,
.mod-custom117 a:hover,
#mod-custom117 .logo:hover,
.mod-custom117 .logo:hover,
#mod-custom117 .brand:hover,
.mod-custom117 .brand:hover {
    color: #1e40af;
    text-decoration: none;
}

/* Falls das Logo einfach nur Text ohne Link ist */
#mod-custom117,
.mod-custom117 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Entferne Standard-Joomla Module Styles */
#mod-custom117 .mod-custom,
.mod-custom117 .mod-custom {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

#mod-custom117 .custom,
.mod-custom117 .custom {
    padding: 0;
    margin: 0;
}

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

/* Tablet */
@media (max-width: 991px) {
    #mod-custom117 a,
    .mod-custom117 a,
    #mod-custom117 .logo,
    .mod-custom117 .logo,
    #mod-custom117,
    .mod-custom117 {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #mod-custom117 a,
    .mod-custom117 a,
    #mod-custom117 .logo,
    .mod-custom117 .logo,
    #mod-custom117,
    .mod-custom117 {
        font-size: 1.4rem;
    }
}

/* ===================================
   VERGLEICH: KLASSISCHES COACHING VS. MEIN ANSATZ
   Variante 2: Alternierende Liste
   Mobile-optimiert
   =================================== */

/* Section Container */
.comparison-section {
    padding: 60px 0;
}

/* Hauptüberschrift */
.comparison-heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

/* List Container */
.comparison-list {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* Einzelne Zeile */
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s ease;
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.comparison-row:hover {
    transform: translateY(-2px);
}

/* Spalten */
.comparison-column {
    display: flex;
    flex-direction: column;
}

.comparison-column h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    margin-top: 0;
}

.comparison-column p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* Hervorgehobene Spalte (Mein Ansatz) */
.comparison-column.highlight {
    background: rgba(30, 58, 138, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

.comparison-column.highlight h4 {
    color: #1e3a8a;
}

.comparison-column.highlight p {
    color: #1e3a8a;
    font-weight: 500;
}

/* Summary Box */
.comparison-summary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
}

.comparison-summary p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;  
    line-height: 1.6;
    margin: 0;
    color: white;
}

.comparison-summary strong {
    font-weight: 600;
}

/* ===================================
   RESPONSIVE: TABLET
   =================================== */
@media (max-width: 991px) {
    .comparison-heading {
        font-size: 1.875rem;
    }

    .comparison-list {
        padding: 30px;
    }

    .comparison-row {
        gap: 20px;
        padding: 20px;
    }

    .comparison-column p {
        font-size: 1rem;
    }

    .comparison-summary {
        padding: 25px 30px;
    }

    .comparison-summary p {
        font-size: 1.1rem;
    }
}

/* ===================================
   RESPONSIVE: MOBILE
   =================================== */
@media (max-width: 768px) {
    .comparison-section {
        padding: 40px 0;
    }

    .comparison-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .comparison-list {
        padding: 20px;
    }

    /* Wichtig: Spalten stapeln auf Mobile */
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .comparison-column h4 {
        font-size: 0.8125rem;
    }

    .comparison-column p {
        font-size: 1rem;
    }

    .comparison-column.highlight {
        padding: 15px;
    }

    .comparison-summary {
        padding: 20px;
    }

    .comparison-summary p {
        font-size: 1rem;
    }
}

/* ===================================
   SEHR KLEINE MOBILE (< 576px)
   =================================== */
@media (max-width: 576px) {
    .comparison-heading {
        font-size: 1.375rem;
    }

    .comparison-list {
        padding: 15px;
    }

    .comparison-row {
        padding: 15px;
    }

    .comparison-column p {
        font-size: 0.95rem;
    }
}

/* ===================================
   PRINT STYLES (BONUS)
   =================================== */
@media print {
    .comparison-list {
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }

    .comparison-row {
        page-break-inside: avoid;
    }

    .comparison-summary {
        background: #1e3a8a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus States für Keyboard Navigation */
.comparison-row:focus-within {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .comparison-row {
        border: 2px solid #000;
    }

    .comparison-column.highlight {
        border-left-width: 6px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .comparison-row {
        transition: none;
    }

    .comparison-row:hover {
        transform: none;
    }
}

/* ===================================
   COLLAPSIBLE TOPBAR
   =================================== */

/* Container */
.collapsible-topbar {
    position: relative;
    width: 100%;
    background-color: #1e3a8a;
    color: white;
    z-index: 1000;
}

/* Toggle Button (geschlossener Zustand) */
.topbar-toggle {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.topbar-toggle:hover {
    background-color: #1e40af;
}

.topbar-closed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.toggle-icon {
    font-size: 1.2rem;
}

.toggle-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
}

.toggle-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Toggle Arrow Animation */
.collapsible-topbar.open .toggle-arrow {
    transform: rotate(180deg);
}

/* Content (aufgeklappter Zustand) */
.topbar-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #2c3e50;
}

.collapsible-topbar.open .topbar-content {
    max-height: 500px;
}

.topbar-inner {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Grid Layout */
.topbar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

/* Sections */
.topbar-section h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    margin-top: 0;
}

.topbar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topbar-section ul li {
    margin-bottom: 8px;
}

.topbar-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.topbar-section a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.topbar-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Close Button */
.topbar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.topbar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Tablet */
@media (max-width: 991px) {
    .topbar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .topbar-toggle {
        padding: 10px 15px;
    }

    .toggle-text {
        font-size: 0.875rem;
    }

    .topbar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topbar-inner {
        padding: 20px 15px;
    }

    .collapsible-topbar.open .topbar-content {
        max-height: 800px;
    }

    .topbar-section h4 {
        font-size: 0.9375rem;
    }

    .topbar-section a,
    .topbar-section p {
        font-size: 0.875rem;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus States */
.topbar-toggle:focus,
.topbar-close:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Keyboard Navigation */
.topbar-section a:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .topbar-content,
    .toggle-arrow,
    .topbar-toggle {
        transition: none;
    }
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
