@import url(fonts.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --col-bg: #f7f9fb;
    --col-main-dark: #193955;
    --col-main-middle: #546c87;
    --col-main-light: #6ab2c4;
    --col-highlight: #e1a54e;

    --fs-display: clamp(3.4375rem, 1.75rem + 5.625vw, 6.25rem);
    --fs-h1: clamp(2.8125rem, 1.5rem + 4.375vw, 5rem);
    --fs-h2: clamp(2.1875rem, 1.25rem + 3.125vw, 3.75rem);
    --fs-h3: clamp(1.5625rem, 1rem + 1.875vw, 2.5rem);
    --fs-h4: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --fs-subtext: clamp(1rem, 0.55rem + 1.5vw, 1.75rem);
    --fs-p: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--col-bg);
    font-family: "Lato", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: var(--col-main-dark);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-hyphens: auto; /* Für ältere WebKit-Browser */
    -o-hyphens: auto; /* Für Opera */
    -ms-hyphens: auto; /* Für Internet Explorer */
    hyphens: auto; /* Standard für moderne Browser */
    /* Optional: Setzt die Sprache, damit der Browser weiß, wie getrennt wird */
    lang: de;
}

h1.display {
    text-transform: uppercase;
    text-align: left;
    line-height: clamp(3.4375rem, 2.125rem + 4.375vw, 5.625rem);
    font-size: var(--fs-display);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

h1.display span {
    display: block;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h1,
h2 {
    font-family: "Bodoni-Moda", "Times New Roman", serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

h3,
.topline {
    font-weight: 300;
    margin-bottom: 40px;
    font-size: var(--fs-h3);
}

.card h3 {
    text-align: left;
}

.txtwall h3 {
    font-weight: 700;
    margin: 40px 0 20px 0;
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.txtwall h4 {
    font-weight: 400;
    margin: 40px 0 20px 0;
}

p.subtext {
    font-size: var(--fs-subtext);
    margin-top: 50px;
    color: var(--col-main-middle);
    font-weight: 400;
    padding: 0 10px;
}

p,
li {
    font-size: var(--fs-p);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.045em;
}
p.annotation {
    color: var(--col-main-middle);
}

p:last-child {
    margin-bottom: 0;
}

p.subtitle {
    color: var(--col-main-middle);
    margin-bottom: clamp(3.125rem, -0.625rem + 12.5vw, 9.375rem);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a.button {
    padding: 12px 20px;
    border-radius: 20px;
    background-color: var(--col-highlight);
    color: var(--col-bg);
    border: none;
    text-align: center;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    margin: 40px 0 0 0;
    width: fit-content;
}

a.button:hover {
    background-color: var(--col-main-dark);
    text-decoration: none;
}

table {
    overflow: auto;
    width: 100%;
    color: var(--col-main-middle);
    margin-top: 20px;
}

td {
    text-align: left;
}

/* UTILITIES */
.no-bullets {
    list-style-type: none;
}

.txt-left {
    text-align: left;
}

.shadow {
    box-shadow: 0px 4px 20px 5px rgba(0, 0, 0, 0.15);
}

.gradientJurassicSky {
    background: var(--col-main-light);
    background: linear-gradient(0deg, #55a3b9 0%, #73b8c8 100%);
}

.gentleMidnight {
    background: var(--col-main-dark);
    background: linear-gradient(0deg, #0d233c 0%, #15375c 100%);
}

/* STRUCTURE */
main {
    margin: auto;
    text-align: center;
}

.wrapper {
    max-width: 1280px;
    margin: auto;
    padding: 100px 40px;
}

.wrapper-full {
    width: 100%;
}

/* CARD TWO COL */
.card {
    background-color: var(--col-bg);
    padding: 64px 50px;
    border-radius: 25px;
    margin-bottom: 40px;
}

.card.twoCol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-column-gap: 75px;
    align-items: center;
}

.card.swap img {
    order: 2;
}

.card.swap .content {
    order: 1;
}

.card .content {
    justify-self: center;
    font-weight: 600;
    text-align: left;
}

.card img {
    height: auto;
    width: 100%;
    align-self: center;
}

.card:last-child {
    margin-bottom: 0;
}

/* NAVIGATION */
header {
    background-color: var(--col-main-dark);
    height: fit-content;
    width: 100%;
    padding: 32px 40px;
}

header nav {
    color: var(--col-bg);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header nav ul {
    display: flex;
    flex-direction: row;
}

header nav ul li {
    margin-right: 20px;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
}

header nav ul li:last-child {
    margin-right: 0;
}

header nav .logo {
    height: 60px;
    width: auto;
}

/* INTRO HEADER */
section.introheader {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    padding: 150px 0;
}

.introheader div.introtxt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
}

.introheader span.service {
    font-family: "Lato Light", sans-serif;
    text-transform: uppercase;
    font-size: 80px;
    font-weight: 300;
    font-size: 85px;
    color: var(--col-main-middle);
}

.introheader .subline {
    font-size: 40px;
    font-weight: 300;
    text-align: left;
}

.introheader .figImg {
    max-width: 55%;
    max-height: 640px;
    height: 100%;
    align-self: center;
}

/* CONTACT */
.contact .button {
    display: inline-block;
    justify-self: start;
}

/* DATENSCHUTZ/IMPRESSUM */
.txtwall section {
    padding-bottom: 0;
}

.txtwall ul {
    margin: 0 0 20px 30px;
}

/* SOCKET LOGO */
section.logosocket {
    height: 350px;
    width: 100%;
    padding: 0;
}

.logosocket img {
    height: 350px;
    width: 100%;
    margin: auto;
    display: block;
}

/* FOOTER */
footer {
    background: var(--col-main-dark);
    min-height: 100px;
    width: 100%;
    color: var(--col-bg);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 32px;
}

footer .business {
    font-size: 28px;
}

.footer-sub {
    color: var(--col-main-light);
    margin-top: 20px;
}

footer div {
    min-width: max-content;
}

footer nav {
    text-align: right;
}

footer nav li {
    margin-bottom: 50px;
}

footer .copy {
    margin-top: 100px;
    font-weight: 700;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1279px) {
    .wrapper {
        padding: 50px 30px;
    }

    h1 {
        /* font-size: 60px; */
    }
    h3 {
        margin-bottom: 30px;
    }

    section.introheader {
        gap: 25px;
        padding: 50px 30px;
    }

    .introheader h1.display {
        letter-spacing: 0.01em; /* Approximately 1% of the font-size */
        /* line-height: 75px; */
    }

    .introheader span.service {
        font-size: 60px;
    }

    .introheader .subline {
        font-size: 35px;
    }

    .introheader .figImg {
        max-width: 50%;
    }

    .card .twoCol {
        gap: 25px;
    }

    footer .business {
        font-size: 20px;
    }
}

@media screen and (max-width: 799px) {
    main {
        width: 100%;
    }

    .wrapper {
        padding: 50px 20px;
    }

    .card {
        padding: 50px 20px;
        margin-bottom: 40px;
    }

    .card.swap img {
        order: 1;
    }

    .card.swap .content {
        order: 2;
    }

    h3 {
        margin-bottom: 25px;
    }

    .card h3 {
        text-align: center;
    }

    header {
        padding: 16px;
    }

    header nav .logo {
        height: 40px;
    }

    section.introheader {
        justify-content: center;
        padding: 50px 20px;
    }

    .introheader h1.display {
        /* font-size: 55px; */
        /* line-height: 55px; */
    }

    .introheader span.service {
        font-size: 45px;
    }

    .introheader .subline {
        font-size: 25px;
    }

    .introheader .figImg {
        max-width: 45%;
    }

    .card.twoCol {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .card .content {
        justify-self: center;
    }

    .contact thead td {
        text-align: center;
    }

    .contact .hour {
        text-align: right;
    }

    .contact p {
        text-align: center;
    }

    footer .business {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    section.introheader {
        justify-content: start;
        row-gap: 60px;
    }

    .introheader .figImg {
        max-width: 100%;
    }

    footer {
        flex-wrap: wrap;
        justify-content: left;
        gap: 50px;
        padding: 32px 24px;
    }

    .footer-sub {
        margin-top: 10px;
        font-weight: 600;
    }

    footer nav {
        text-align: left;
    }

    footer nav li {
        margin-bottom: 5px;
    }

    footer .copy {
        margin-top: 20px;
    }
}
