/* ============================================================
   BASE – Reset, Typografie, Farben, Grid
   Farb- und Groessenwerte 1:1 aus dem Original (style.css / colors.css)
   ============================================================ */

:root {
    --color-primary: #66A7C5;
    --color-primary-light: #92bfdb;
    --color-heading: #313536;
    --color-text: #6C7476;
    --color-dark: #313536;
    --color-bg-soft: #f5f1f0;
    --max-width: 1200px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: 'ralewayregular';
    font-weight: normal;
    font-size: 15px;
    color: var(--color-text);
    background-color: var(--color-bg-soft);
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6, strong {
    font-family: 'ralewaybold';
    font-weight: normal;
    color: var(--color-heading);
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1;
}
h1 { font-size: 40px; }
h2 { font-size: 34px; }
h3 { font-size: 30px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 30px;
    word-spacing: 0.2em;
    color: var(--color-text);
}
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:hover { color: var(--color-primary-light); text-decoration: none; }

strong { letter-spacing: 0.01em; color: var(--color-text); }

ul { color: var(--color-text); }

img { vertical-align: bottom; max-width: 100%; height: auto; }
img.full-width { position: relative; width: 100%; }

.clear { clear: both; }

hr {
    height: 1px;
    border: none;
    outline: none;
    margin: 20px -20px;
    background-color: var(--color-bg-soft);
}
.grid hr { margin: 30px 0; }

/* Blockquote (Corona-Info-Optik, colors.css) */
blockquote {
    margin: 30px 0;
    padding: 40px 40px 40px 100px;
    position: relative;
    background: var(--color-bg-soft);
    font-style: italic;
}
blockquote:before {
    width: 61px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: var(--color-primary-light);
}
blockquote:after {
    content: '"';
    position: absolute;
    font-size: 100px;
    font-style: normal;
    line-height: 1;
    text-align: center;
    top: 50%;
    left: 17px;
    margin: -20px 0 0 0;
    color: #fff;
}
blockquote p { display: inline; font-size: 18px; margin: 0; line-height: 1.5; }

/* ================= GRID ================== */
.grid, .unit { box-sizing: border-box; }
.grid { display: block; clear: both; }
.grid:before, .grid:after { display: table; content: ""; line-height: 0; }
.grid:after { clear: both; }
.grid .unit { float: left; width: 100%; padding: 20px; }

.grid .whole        { width: 100%; }
.grid .half         { width: 50%; }
.grid .one-third    { width: 33.3332%; }
.grid .two-thirds   { width: 66.6665%; }
.grid .golden-small { width: 38.2716%; }
.grid .golden-large { width: 61.7283%; }

.wrap .grid, .grid.wrap { max-width: 978px; margin: 0 auto; }
