/* CSS FOR RF MEDIENGESTALTUNG 2026 */
:root {
    --color-primary: #1E3A5F;
    --color-primary-700: #45627d;
    --color-secondary: #2f5d87;
    --color-accent: #57a3ae;

    --color-bg-light: #F7F9FC;
    --color-bg-white: #FFFFFF;

    --color-text-dark: #1A1A1A;
    --color-text-light: #FFFFFF;
    --color-text-muted: #6B7280;

    --color-grey-100: #F0F2F5;
    --color-grey-200: #D9DFE7;
    --color-grey-300: #B8C2CE;

    --success: #2E7D32;
    --warning: #F59E0B;
    --danger: #D14343;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    --padding-sm:.5rem;
    --padding-md:1rem;
    --padding-lg:1.5rem;

    --font-sans: 'Source Sans Pro', Arial, sans-serif;
    --font-head: 'Montserrat', sans-serif;
    --base-font-size: 1.125rem;
    --base-line-height: 140%;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    line-height: var(--base-line-height);
    font-size: var(--base-font-size);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: .75rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; text-align:center;margin:2rem 0 1.5rem 0;}
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

/* Small / muted text */
small, .muted { color: var(--color-text-muted); font-size: .9rem; }

/* Links */
a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color .2s ease, opacity .15s ease;
}
a:hover, a:focus {
    color: var(--color-accent);
    text-decoration: underline;
    outline: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-white);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--color-primary-700);
    border-color: var(--color-primary-700);
    opacity: .90;
    text-decoration:none;
}
.btn-accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-white);
}

.btn-accent:hover, .btn-accent:focus {
    opacity: .9;
}

/* Cards= */
.card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-grey-200);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: 0 1px 4px rgba(26,26,26,0.04);
}
.card-title {
    font-family: var(--font-head);
    margin-bottom: .5rem;
    color: var(--color-primary);
}

/* Forms */
.input, textarea, select {
    width: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--color-grey-200);
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    color: var(--color-text-dark);
    font-size: 1rem;
    transition: box-shadow .12s ease, border-color .12s ease;
}

.input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(63,110,165,0.06);
}

/* Layout / Grid helpers */
.container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}
section {
    padding: var(--space-xxl) 0;
}

/* UTILITIES */
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.w-100 { width: 100%; }
.flex { display: flex; }

.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Responsive visibility helpers */
.hidden-sm { display: none !important; }
@media (min-width: 768px) {
    .hidden-sm { display: block !important; }
}

/* Accessibility / Focus */
:focus {
    outline: none;
}
a:focus, .btn:focus, .input:focus {
    box-shadow: 0 0 0 4px rgba(63,110,165,0.12);
    border-radius: 6px;
}

/* DARK MODE */
body.dark {
    background: #0F1115;
    color: #E6E6E6;
}
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
    color: #FFFFFF;
}
body.dark a {
    color: var(--color-accent);
}
body.dark a:hover {
    color: var(--color-secondary);
}
body.dark section {
    background: #15171C;
}
body.dark .card {
    background: #0F1115;
    border-color: rgba(255,255,255,0.06);
    box-shadow: none;
}
/* =========JOOMLA CONTENT TEMPLATE========= */
/* ========================================= */


/* PARALLAX – GLOBAL */
.parallax-01 {
  background-image: url("/images/parallax/typo.jpg");
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-02 {
  background-image: url("/images/parallax/cms.jpg");
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-03 {
  background-image: url("/images/parallax/code.jpg");
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-04 {
  background-image: url("/images/parallax/contact.jpg");
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Alternative für mobile Geräte (da fixed oft deaktiviert wird) 
@media (max-width: 767px) {
    .parallax-01, .parallax-02,.parallax-03,.parallax-04 {
        background-attachment: scroll;
    }
}*/

/* HEADER NAVIGATION */
#header {background-color:var(--color-bg-white);-webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15); 
box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15);}
#header {color:var(--color-primary);}
#header .navbar-brand img {max-height:48px;width:auto;padding-right:1rem;}
/* HERO CONTENT AREA*/
#hero {margin-top:4rem;}

/* JOOMLA MODULES */
#joomlacms .row.row-cms, #services .row.row-services {
  gap: 1.5rem;
}
/* margin for modules */
@media (min-width: 768px) {
#joomlacms .row.row-cms > .col-md-4, #services .row.row-services > .col-md-4  {
  width: calc(33.333% - 1rem);
}
}
/* MODULES SERVICE, CMSINFO */
.moduletable.cms-box:first-child {background-color:inherit;box-shadow:none;}
.moduletable.cms-box, .moduletable.services-box {background-color:var(--color-bg-white);
border-radius: var(--radius-lg);padding:var(--padding-md);
-webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15); 
box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15);
}
.moduletable.cms-box-head, .moduletable.services-box-head {text-align:center;}
.moduletable.cms-box h3, .moduletable.services-box h3, .moduletable.process-timeline h3 {text-align:center}
.moduletable.cms-box p i, .moduletable.services-box p i { display: block;margin: 0 auto;color:var(--color-primary);
margin-top:1rem;}

/* MODULE TIMELINE */
.moduletable.process-timeline .timeline {display:flex;gap:1rem;margin-top:2rem;flex-wrap: wrap;}
.moduletable.process-timeline .timeline-step
{text-align:center;flex: 1;min-width: 150px;background-color:var(--color-bg-white);
border-radius: var(--radius-lg);padding:var(--padding-md);
-webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15); 
box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15);}
.moduletable.process-timeline .timeline-step i {display: block;margin: 1rem auto;color:var(--color-primary);font-size:1.5rem;opacity:.7;}

@media (min-width: 768px) and (max-width:997px) {h3 {font-size:1.2rem;}}

/* MODULES FOOTER */
#footer .container {border-top:1px solid var(--color-primary);}
#footer .container .mod-custom i {color:var(--color-primary);}

/* SMILE GALLERY */
.moduletable.portfolio-box .gallery-items {padding-bottom:1rem;}
.moduletable.portfolio-box .gallery-items .item {-webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15); 
box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.15);}

/* CONVERT FORMS*/
#cf_1 {
  margin-left: auto;
  margin-right: auto;
}
.convertforms.cf-success .cf-response {
    background-color: var(--color-accent);
    display: block;
}
.convertforms.cf-success .cf-response p{
color:var(--color-text-light);
}