/* glock-web.de */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font: 16px/1.15 "Times New Roman", Times, serif;
    color: #000;
    background: #fff;
}

img { max-width: 100%; height: auto; border: 0; }
picture { display: block; }
a { color: #3366cc; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid #3366cc; outline-offset: 2px; }

h1, h2, h3 { color: #6262b4; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
h1 { margin: 21px 0; font-size: 32px; }
.s32 { font-size: 32px; }
.s24 { font-size: 24px; }
h2 { margin: 20px 0; font-size: 24px; }
h3 { margin: 19px 0; font-size: 18.7px; }
p { margin: 16px 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 10px; z-index: 10; padding: 10px 15px; color: #fff; background: #003399; }
.skip:focus { top: 10px; color: #fff; }

#box { width: 959px; max-width: 100%; margin: 0 auto; text-align: left; }

/* ------------------------------------------------------------------ header -- */

#header { position: relative; height: 160px; padding-top: 10px; }
#header .legal { position: absolute; top: 0; right: 0; }
#header .legal a { display: inline-block; padding: 10px 20px; line-height: 18px; color: #6b6b6b; }
#logo { display: block; width: 128px; height: 50px; margin: 0; }
#slogan { position: absolute; top: 80px; left: 0; margin: 0; line-height: 18px; color: #000066; }

#navi { position: absolute; top: 114px; right: 100px; margin: 0; padding: 0; list-style: none; display: flex; }
#navi a { display: inline-block; padding: 2px 20px; line-height: 18px; color: #3366cc; }
#navi a.active, #navi a:hover { color: #003399; text-decoration: none; }

/* ------------------------------------------------------------------- teaser -- */

#teaser {
    margin-bottom: 40px;
    padding: 20px 0;
    text-align: center;
    background: url(../img/teaser-bg.webp) no-repeat;
}
#teaser img { display: inline-block; }

/* ------------------------------------------------------------------ content -- */

#content { margin-bottom: 50px; }
#content > h1:first-child { margin-top: 0; }
#content a { color: #6262b4; text-decoration: underline; }

.img-right { float: right; margin: 0 0 10px 20px; }
.clear { clear: both; }

.columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.columns.three { grid-template-columns: repeat(3, 1fr); }
.columns > div { min-width: 0; padding: 0 10px; }
.columns h2 { margin: 0 0 16px; font-size: 16px; line-height: 17px; }
.columns h2 a { color: inherit; }
.columns p { margin: 0; }
.columns .more { display: inline-block; }
.columns.packages img { display: block; width: 100%; max-width: 259px; margin: 0 auto; }

.graphic { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------------- footer -- */

#footer { color: #6b6b6b; text-align: center; }
#footer p { margin: 16px 0; }
#footer img { display: block; margin: 0 auto; }

/* ---------------------------------------------------------- small screens -- */

@media (max-width: 991.98px) {
    #box { padding: 0 15px; }
    .columns, .columns.three { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
}

@media (max-width: 700px) {
    #header { height: auto; padding-bottom: 10px; }
    #header .legal { position: static; text-align: right; }
    #header .legal a { padding: 6px 8px; }
    #logo { margin: 0; }
    #slogan { position: static; margin: 8px 0 14px; }
    #navi { position: static; flex-wrap: wrap; }
    #navi a { padding: 8px 14px 8px 0; }
    #teaser { padding: 10px 0; margin-bottom: 24px; }
    .columns, .columns.three { grid-template-columns: 1fr; }
    .columns > div { padding: 2px 0; }
    .img-right { float: none; display: block; margin: 0 0 16px; }
}
