/*Reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Farben*/
:root {
    --schrift: #000000;
    --accent: #639ECA;
    --background: #ffffff;
}

img {
    max-width: 95vh;
}

/*Typografie*/

/* Links ohne Unterstreichung mit Hover-Effekt */
a {
    text-decoration: none;
    color: var(--schrift);
    font-family: Inter, sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
}

/*Hauptüberschrift*/
h1 {
    color: var(--schrift);
    font-size: 100px;
    font-family: Inter, sans-serif;
    font-weight: 800;
}

/*Sekundäre Überschrift*/
h2 {
    color: var(--schrift);
    font-size: 32px;
    font-family: Inter, sans-serif;
}

/*Tertiäre Überschrift*/
h3 {
    color: var(--schrift);
    font-size: 24px;
    font-family: Inter, sans-serif;
}

/*Fließtext*/
p {
    color: var(--schrift);
    font-size: 18px;
    font-family: Inter, sans-serif;
    line-height: 1.4;
}

blockquote p {
	text-align: center;
	width: 300px;
	color: #639ECA; 
}

blockquote {
	text-align: center;
	width: 300px;
	color: #639ECA; 
}

blockquote cite {
	margin-top: 1rem;
	font: 1rem/1.2 Helvetica, Arial, sans-serif;
	font-style: italic;
	font-size: 80%;
}

blockquote::before,
blockquote::after {
	content: '';
	display: block;
	height: 2em;
	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-6%200%2012%204%22%3E%3Ctext%20x%3D%220%22%20y%3D%222%22%20text-anchor%3D%22middle%22%20font-family%3D%22Georgia%22%20font-size%3D%223%22%20fill%3D%22hsl%28224%2C%2060%25%2C%2060%25%29%22%3E%E2%80%9E%3C%2Ftext%3E%3Cg%20stroke-width%3D%220.1%22%20stroke%3D%22hsl%28224%2C%2060%25%2C%2060%25%29%22%3E%3Cline%20x1%3D%226%22%20x2%3D%221.5%22%20y1%3D%222%22%20y2%3D%222%22%2F%3E%3Cline%20x1%3D%22-6%22%20x2%3D%22-1.5%22%20y1%3D%222%22%20y2%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
	/* <svg xmlns="http://www.w3.org/2000/svg" viewBox="-6 0 12 4"><text x="0" y="2" text-anchor="middle" font-family="Georgia" font-size="3" fill="hsl(224 60% 60%)">„</text><g stroke-width="0.1" stroke="hsl(224 60% 60%)"><line x1="6" x2="1.5" y1="2" y2="2"/><line x1="-6" x2="-1.5" y1="2" y2="2"/></g></svg> */
	
	background-position: center;
	background-repeat: no-repeat;
	align-self: center;
}

blockquote:lang(en)::before,
blockquote:lang(de)::after {
	transform: rotate(0.5turn);
}

/*Listen-Styling*/
li,
ul {
    color: var(--schrift);
    font-size: 20px;
    font-family: Inter, sans-serif;
}

body {
    background-color: var(--background);
}

body.hidden {
    overflow: hidden;
}

/*Header & Navigation*/

header {
    background-color: rgba(255, 255, 255, 0.644);
    z-index: 200;
    display: flex;
    justify-content: space-between;
    position: fixed;
    padding: 5px;
    top: 0;
    width: 100%;
    transition: background-color 0.3s ease;
}

header nav {
    display: flex;
    justify-content: space-between;
}

/*Logo mit Hover-Vergrößerung*/
header .logo {
    margin: 30%;
    height: auto;
    width: 65px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

/*Hintergrund beim Scrollen*/
header.scrolled {
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/*Navigationsmenü*/
header .nav {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 30px 40px;
}

header .nav li {
    list-style-type: none;
}

/*Navigationslinks mit Hover-Effekt*/
header nav a {
    font-weight: 800;
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/*Aktive Seite hervorheben*/
header nav a.active {
    color: var(--schrift);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 3px;
}

/*Burger-Menü Icon (versteckt auf Desktop)*/
header .menu-icon {
    display: none;
}

/*HOMEPAGE*/

/*Hero mit Hintergrundbild*/
.hero {
    background-image: url(../img/Rack.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 6%;
}

/*Hero-Titel mit Animation*/
.hero h1 {
    color: var(--background);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
}


.color {
    color: var(--accent);
    margin-bottom: -1.5%;
}

/*Abstand für Titel*/
.normal {
    margin-bottom: 0.5%;
}

/*Hero-Untertitel mit Animation*/
.hero h2 {
    color: var(--background);
    font-size: 40px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/*Hero-Text mit Animation*/
.hero p {
    color: var(--background);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/*Fade-In Animation von unten*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Introduction*/

/*Zentrierte Einführungssektion*/

.introduction {
    max-width: 1200px;
    margin: 7% auto;
    text-align: center;
}

.introduction-text p {
    margin: 3.5%;
}

/*Feature*/

/*Zweispaltiges-Grid*/
.feature {
    max-width: 1200px;
    margin: 64px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/*Artikel mit Border und Hover-Effekt*/
.feature article {
    border: 1px solid var(--schrift);
    padding: 10% 5% 5% 15%;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(99, 158, 202, 0.2);
}

/*Icons mit Accent-Farbe*/
.feature article i {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.feature article:hover i {
    transform: scale(1.1);
}

.feature article h3 {
    margin-bottom: 10px;
}

.feature article p,
.feature article ul {
    margin-bottom: 10px;
}

/*Promise*/

/*Dreispaltiges-Grid*/
.promise {
    max-width: 1200px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 45px;
    margin: 20px auto 0 auto;
}

.promise h3 {
    margin-bottom: 24px;
}

/*Proxmox*/

/*Proxmox Logo-Titel*/
.proxmox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7%;
    margin-bottom: 100px;
}

.proxmox h1 {
    text-transform: uppercase;
}

.proxmox img {
    max-width: 180px;
    margin-left: 25px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.proxmox img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/*Iinfrastructure*/

/*Einleitungstext*/
.initial-text {
    max-width: 1000px;
    padding: 24px 24px 0 24px;
    text-align: left;
    margin: 0 auto;
    margin-top: -120px;
}

/*Zweispaltiges-Grid*/
.infrastructure {
    max-width: 1200px;
    margin: 64px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.infrastructure article {
    border: 1px solid var(--schrift);
    padding: 10% 5% 5% 15%;
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infrastructure article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(99, 158, 202, 0.2);
}

.infrastructure i {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--accent);
}

.infrastructure article h3 {
    margin-bottom: 10px;
}

/*Cluster*/

/*Cluster-Informationsbereich*/
.cluster {
    max-width: 1200px;
    padding: 24px;
    margin: 0 auto;
    margin-top: -50px;
}

.cluster h2 {
    margin-bottom: 18px;
}

/*History & Timeline*/

/*History-Titel*/
.history {
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

.history h1 {
    font-size: 64px;
    text-transform: uppercase;
}

/*Timeline*/
.timeline-container {
    max-width: 1200px;
    margin: 5% auto;
    display: flex;
    justify-content: center;
}

/*Timeline mit vertikaler Linie*/
.timeline ul {
    list-style: none;
    border-left: 2px solid var(--schrift);
    padding-left: 32px;
}

/*Timeline-Einträge mit Hover-Effekt*/
.timeline li {
    position: relative;
    margin-bottom: 64px;
    transition: transform 0.3s ease;
}

.timeline li:hover {
    transform: translateY(-5px);
}

/*Timeline-Punkte*/
.timeline li::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 6px);
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--schrift);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.timeline li:hover::before {
    background: var(--accent);
}

/*Datumsanzeige in Timeline*/
.timeline .date {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 10px;
}

/*Timeline-Content*/
.timeline .content {
    color: var(--schrift);
    max-width: 700px;
}

/*MesonAg*/

/*Meson Logo-Titel*/
.meson {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
}

.meson h1 {
    font-size: 64px;
    padding-right: 50px;
}

.meson img {
    max-width: 180px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.meson img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/*About/Who*/

/*Über-uns Textbereich*/
.who {
    max-width: 1000px;
    margin: 0 auto;
    padding: 28px;
}

/*Kontakt*/

/*Kontaktbereich Container*/
.contact-section {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 35px auto;
}

/*Zweispaltiges-Grid*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

/*Kontakt-Items mit Hover*/
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 35px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.15);
}

/*Impressum*/

/*Impressum Hero-Bereich*/
.impressum-hero {
    padding: 120px 0px 20px;
    border-bottom: 2px solid var(--schrift);
}

.impressum-hero h1 {
    font-size: 64px;
    text-transform: uppercase;
    padding: 0 24px;
}

/*Impressum Content*/
.impressum-content {
    max-width: 100%;
    padding: 20px 0px;
}

/*Einzelne Impressum-Sektionen*/
.impressum-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--schrift);
    padding-left: 24px;
    padding-right: 24px;
}

/*Impressum Inhalte linksbündig*/
.impressum-section>* {
    /*Alle direkten Kindelemente*/
    max-width: 1200px;
    margin-left: 0;
    margin-right: auto;
}

.impressum-section h3 {
    margin-bottom: 12px;
}

.impressum-section p {
    display: block;
    margin: 0 0 5px 0;
}

/*Footer*/

/*Footer mit drei Spalten*/
footer {
    padding: 5% 3% 2% 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.footer-left {
    text-align: left;
    padding-left: 20px;
}

.footer-middle {
    text-align: center;
}

.footer-right {
    text-align: right;
    padding-right: 20px;
}

/* Responsive: Breakpoint 1000px*/

@media (max-width: 1000px) {

    /*Schriftgrössen reduzieren für Tablets*/
    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero h2 {
        font-size: 32px;
    }

    /*Feature Grid auf eine Spalte*/
    .feature {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .feature article {
        padding: 8% 8%;
    }

    /*Promise Grid auf eine Spalte mit Hintergrund (besserlesbar)*/
    .promise {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: -10px;
        padding: 30px 20px;
    }

    .promise>div {
        background-color: rgba(99, 158, 202, 0.05);
        padding: 20px;
    }

    /*Infrastructure Grid auf eine Spalte*/
    .infrastructure {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .infrastructure article {
        padding: 8% 8%;
    }

    /*Proxmox vertikal anordnen*/
    .proxmox {
        flex-direction: column;
        text-align: center;
        margin-top: 15%;
        margin-bottom: 90px;
    }

    .proxmox h1 {
        font-size: 56px;
    }

    .proxmox img {
        margin-left: 0;
        margin-top: 20px;
        margin-bottom: 30px;
        max-width: 150px;
    }

    .initial-text {
        margin-top: -110px;
    }

    .cluster {
        margin-top: -45px;
    }

    /*History Anpassungen*/
    .history {
        margin-top: 15%;
    }

    .history h1 {
        font-size: 56px;
    }

    /*Meson vertikal anordnen*/
    .meson {
        flex-direction: column;
        margin-top: 15%;
    }

    .meson h1 {
        font-size: 56px;
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .meson img {
        max-width: 150px;
        margin-bottom: 30px;
    }

    /*Contact Grid Gap anpassen*/
    .contact-grid {
        gap: 50px;
    }

    /* Impressum Hero kleiner */
    .impressum-hero h1 {
        font-size: 48px;
    }
}

/* Responsive: Breakpoint 800px*/

@media (max-width: 800px) {

    /*Weitere Schriftgrössen verkleinerung für Mobile */
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    /*Burger Menu*/

    /*Logo kleiner*/
    header .logo {
        width: 50px;
        margin: 20%;
    }

    header .nav {
        padding: 20px;
    }

    /*Navigation versteckt*/
    header nav {
        display: none;
    }

    /*Burger-Icon anzeigen*/
    header .menu-icon {
        display: block;
        position: relative;
        z-index: 100;
        font-size: 30px;
        margin-top: 15px;
        margin-right: 15px;
    }

    header .menu-icon .close {
        display: none;
    }

    /*Aktives Burger-Menü Full*/
    header.active .menu-icon .open {
        display: none;
    }

    header.active .menu-icon .close {
        display: block;
    }

    header.active nav {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--background);
        z-index: 100;
    }

    header.active nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        gap: 20px;
    }

    /*Hero*/

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    /*Sections*/

    .introduction {
        margin: 10% auto;
        padding: 0 20px;
    }

    .feature article {
        padding: 6% 6%;
        margin: 15px 0;
    }

    .feature article ul {
        padding-left: 30px;
    }

    .promise {
        padding: 20px;
        gap: 20px;
        margin-top: -10px;
    }

    .infrastructure article {
        padding: 6% 6%;
        margin: 15px 0;
    }

    .infrastructure article ul {
        padding-left: 30px;
    }

    /*Proxmox*/
    .proxmox {
        margin-top: 20%;
        margin-bottom: 80px;
    }

    .proxmox h1 {
        font-size: 42px;
    }

    .proxmox img {
        max-width: 130px;
        margin-bottom: 25px;
    }

    .initial-text {
        margin-top: -100px;
    }

    .cluster {
        margin-top: -40px;
    }

    /*Timeline Mobile*/
    .timeline ul {
        padding-left: 24px;
        margin-left: 15px;
    }

    .timeline li {
        margin-bottom: 40px;
    }

    .timeline li::before {
        left: calc(-24px - 5px);
    }

    .timeline .content {
        max-width: 100%;
    }

    /*History*/
    .history {
        margin-top: 20%;
    }

    .history h1 {
        font-size: 42px;
        padding: 0 15px;
        word-wrap: break-word;
    }

    /*Meson*/
    .meson {
        margin-top: 20%;
    }

    .meson h1 {
        font-size: 42px;
    }

    .meson img {
        max-width: 130px;
    }

    /*Contact einspalitig*/
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-item i {
        font-size: 28px;
    }

    /*Impressum*/
    .impressum-hero {
        padding: 100px 0px 20px;
    }

    .impressum-hero h1 {
        font-size: 36px;
        padding: 0 20px;
    }

    .impressum-content {
        padding: 20px 0px;
    }

    .impressum-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    /*Footer vertikal*/
    footer {
        padding: 8% 3%;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        padding: 0;
        text-align: center;
    }
}
