/*
Theme Name: Remscheider Bildungsbau GmbH
Theme URI: https://rsbb.gmbh/
Author: Ingo Stephan
Author URI: https://www.sgp.de
Description: Theme für die Remscheider Bildungsbau GmbH
Version: 1.0
Tags: SGP, Gute Botschaften, Agentur, Remscheid, Werbung, Marketing, Internet, Facebook
Text Domain: rs-bildungsbau
*/

/* =============================================
   Reset & Base
   ============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    line-height: 1.5;
    overflow-x: hidden;
    font-family: 'Montserrat', 'Verdana', 'Geneva', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: normal;
}

/* =============================================
   Typografie
   ============================================= */

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    hyphens: auto;
}

p {
    overflow-wrap: break-word;
}

b, strong { font-weight: 700; }
em        { font-style: italic; }

ol, ul    { list-style: none; }

blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: none; }

/* =============================================
   Links
   ============================================= */

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* =============================================
   Medien
   ============================================= */

img, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* =============================================
   Tabellen & Formulare
   ============================================= */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, button, textarea, select {
    font: inherit;
}

/* =============================================
   Selektion
   ============================================= */

::selection {
    background: #000000;
    color: #ffffff;
}

/* =============================================
   Utility
   ============================================= */

.clear { clear: both; }
.nobr  { white-space: nowrap; }

.show2000, .show1500, .show1200, .show1024, .show1100, .show768, .show550,  .show450  { display: none; }

/* =============================================
   Content generell
   ============================================= */

header, main, footer {
    position: relative;
    margin: 0 8vw;
}

article, section {
    position: relative;
    width: 100%; 
}

img.rechtsoben, img.linksoben { position: absolute; top: -2px; left: 0; width: 100%; z-index: 100; }
img.rechtsunten, img.linksunten { position: absolute; bottom: -2px; left: 0; width: 100%; z-index: 100; }

.map-consent {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--primary-light);
    border-radius: 12px;
}

.map-consent iframe { border-radius: 12px; }

.map-consent__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2vw;
    text-align: center;
    gap: 16px;
}

.map-consent__overlay button {
    background-color: transparent;
    color:            var(--secondary);
    border:           2px solid var(--secondary);
    border-radius:    0;
    box-shadow:       none;
    cursor:           pointer;
    display:          inline-block;
    font-size:        1rem;
    line-height:      1rem;
    margin:           0;
    padding:          8px 10px;
    text-align:       center;
    text-decoration:  none;
    text-transform:   none;
    overflow-wrap:    break-word;
}

/* =============================================
   Content Header
   ============================================= */

header {
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    text-align:      center;
    padding:         1rem 0 2rem;
}

.logo a img {
    display: block;
    width: 22vw;
    height: auto;
    max-width: 350px;
    min-width: 200px;
}


/* =============================================
   Content Index
   ============================================= */

#hero { min-height: 500px; width: 100%; }
#hero section { z-index: 200; }
#hero section h1 { font-size: calc(var(--h-size) * 1.5); }

#districts { min-height: 500px; width: 100%; }
#districts section { z-index: 200; }
#districts section h2 { font-size: calc(var(--h-size) * 0.9); margin-bottom: 0; }


/* =============================================
   Content Page
   ============================================= */

#page-header { min-height: 500px; width: 100%; }
#page-header section { z-index: 200; }
#page-header section h1 { font-size: calc(var(--h-size) * 1.3); margin-bottom: 0; width: 50%; margin: 0 auto; }

#projects section { min-height: 500px; width: 100%; }
#projects section div.content { z-index: 200; width: calc(50% + 8vw); }
#projects .overlay-blue { background-color: rgb(64 95 131 / 65%); }

/* =============================================
   Content Single
   ============================================= */

#single-header { min-height: 350px; width: 100%; }
#single-header section { z-index: 200; }
#single-header section h1 { font-size: calc(var(--h-size) * 1.3); margin-bottom: 0; width: 50%; margin: 0 auto; }

/* =============================================
   Content footer
   ============================================= */

footer a { display: inline-block; }
footer a img {
    width: 15vw;
    height: auto;
    max-width: 300px;
    min-width: 200px;
}