/* ==========================================================================
   eachTick GmbH
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --background: #ffffff;
    --surface: #f7f8fa;

    --text: #111111;
    --text-secondary: #555555;

    --border: #e5e7eb;

    --accent: #06c68e;
    --accent-hover: #04b280;

    --max-width: 1100px;

}

html {

    scroll-behavior: smooth;

    /* Prevent horizontal jumping when the scrollbar appears */
    scrollbar-gutter: stable;

}

body {

    background: var(--background);

    color: var(--text);

    font-family:
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.7;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

}

/* ==========================================================================
   Layout
   ========================================================================== */

main {

    flex: 1;

}

.container {

    width: min(92%, var(--max-width));
    margin: auto;

}

/* ==========================================================================
   Header
   ========================================================================== */

header {

    height: 72px;

    display: flex;
    align-items: center;

    background: white;

    border-bottom: 1px solid var(--border);

}

.home-header {

    display: none;

}

.logo-link {

    display: flex;
    align-items: center;

    height: 100%;

}

.logo {

    height: 42px;
    display: block;

}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {

    padding: 80px 0;

    text-align: center;

}

.hero-logo {

    width: min(650px, 90%);
    height: auto;

    margin-bottom: 60px;

}

.hero h1 {

    font-size: clamp(2.2rem, 5vw, 3.4rem);

    font-weight: 600;

    margin-bottom: 20px;

}

.subtitle {

    font-size: 1.25rem;

    color: var(--text-secondary);

    margin-bottom: 35px;

}

.description {

    max-width: 760px;

    margin: auto;

    color: var(--text-secondary);

    font-size: 1.1rem;

}

/* ==========================================================================
   Notice
   ========================================================================== */

.notice {

    margin: 60px auto 0;

    max-width: 720px;

    padding: 35px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.05);

}

.notice strong {

    display: block;

    font-size: 1.3rem;

    margin-bottom: 10px;

}

/* ==========================================================================
   Sections
   ========================================================================== */

section {

    padding: 50px 0;

}

section h2 {

    text-align: center;

    font-size: 2rem;

    margin-bottom: 35px;

}

.card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 40px;

    max-width: 760px;

    margin: auto;

    box-shadow:
        0 12px 40px rgba(0,0,0,.05);

}

.card h3 {

    font-size: 1.5rem;

    margin-bottom: 15px;

}

.card p {

    color: var(--text-secondary);

}

/* ==========================================================================
   Featured Project
   ========================================================================== */

.project-card {

    display: flex;

    align-items: center;

    gap: 40px;

    max-width: 900px;

    margin: auto;

    padding: 40px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.05);

}

.project-image {

    flex-shrink: 0;

}

.project-image img {

    display: block;

    width: 320px;

    border-radius: 12px;

    transition: transform .2s ease;

}

.project-image:hover img {

    transform: scale(1.02);

}

.project-info {

    flex: 1;

}

.project-info h3 {

    font-size: 2rem;

    margin-bottom: 18px;

}

.project-info p {

    color: var(--text-secondary);

    margin-bottom: 28px;

}

.project-button {

    display: inline-block;

    background: var(--accent);

    color: white;

    padding: 12px 24px;

    border-radius: 8px;

    font-weight: 600;

    transition:
        background .2s,
        transform .2s;

}

.project-button:hover {

    background: var(--accent-hover);

    color: white;

    transform: translateY(-2px);

}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 850px) {

    .project-card {

        flex-direction: column;

        text-align: center;

    }

    .project-image img {

        width: 100%;
        max-width: 420px;

    }

}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {

    text-align: center;

}

.contact p {

    font-size: 1.15rem;

}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.page {

    max-width: 850px;

    padding: 80px 0;

}

.page h1 {

    font-size: 2.8rem;

    margin-bottom: 45px;

}

.page h2 {

    margin-top: 40px;
    margin-bottom: 15px;

    font-size: 1.35rem;

    color: var(--text);

}

.page p,
.page li {

    color: var(--text-secondary);

}

.page ul {

    margin-left: 24px;
    margin-top: 10px;

}

.page li {

    margin-bottom: 8px;

}

/* ==========================================================================
   Links
   ========================================================================== */

a {

    color: var(--accent);

    text-decoration: none;

    transition: color .2s ease;

}

a:hover {

    color: var(--accent-hover);

}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {

    margin-top: auto;

    background: white;

    border-top: 1px solid var(--border);

    padding: 24px 0;

}

.footer-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

}

footer nav {

    display: flex;

    align-items: center;

}

footer nav a {

    color: var(--accent);

}

footer nav a + a::before {

    content: "|";

    color: var(--text-secondary);

    margin: 0 14px;

}

footer span {

    color: var(--text-secondary);

    font-size: 0.95rem;

}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 700px) {

    header {

        height: auto;
        padding: 15px 0;

    }

    .logo {

        height: 34px;

    }

    .hero {

        padding-top: 70px;

    }

    .hero-logo {

        width: 95%;

        margin-bottom: 40px;

    }

    .card,
    .notice {

        padding: 25px;

    }

    footer {

        height: auto;
        padding: 20px 0;

    }

    .footer-content {

        flex-direction: column;

        text-align: center;

    }

}