:root{
    --bg: rgb(250, 248, 245);
    --text:#151515;
    --muted:#666;
    --border:#e5e5e5;
    --navtext: rgb(203, 162, 162);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',sans-serif;
}

.container {
    width: min(1400px,90%);
    margin: auto;
}

section {
    padding: 100px 0;
}

h1, h2, h3, blockquote {
    font-family: 'Cormorant Garamond',serif;
}

h1 {
    position: relative;
    font-size: clamp(4rem,10vw,9rem);
    line-height: 0.95;
    font-weight: 300;
    z-index: 2;
}

h2 {
    font-size: clamp(3rem,5vw,5rem);
    margin-bottom: 50px;
    font-weight: 300;
}

p {
    color: var(--muted);
    max-width: 750px;
}

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: #faf8f5;
    border-bottom: 1px solid var(--navtext);
    transition: 0.3s;
}

#header.scrolled {
    border-bottom:1px solid var(--border);
}

.navbar {
    width: min(1400px,90%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    max-width: 200px;
    margin-top: 5px;
}

.nav-links {
    display:flex;
    list-style: none;
    gap:40px;
}

.nav-links a {
    text-decoration: none;
    color:var(--text);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display:block;
    width:28px;
    height:2px;
    background:black;
    margin:6px 0;
}

.hero {
    min-height:100vh;
    display:flex;
    align-items:center;
}

.kicker {
    position: relative;
    float: right;
    margin-bottom: 30px;
    margin-top: -150px;
    z-index: 1;
}

.hero p {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 36px;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: black;
    color: white;
}

.image-section {
    padding: 20px 0;
}

.image-section img {
    width: 100%;
    height: 120px;
    opacity: 0.85;
    object-fit: cover;
    border-top: 2px solid var(--navtext);
    border-bottom: 2px solid var(--navtext);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 60px;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Pricing-Section */

.pricing-section {
    padding: 160px 0;
}

.pricing-intro {
    max-width: 780px;
    margin-bottom: 70px;
    color: var(--muted);
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.pricing-card {
    border: 1px solid var(--border);
    padding: 40px;
    background: transparent;
    border-radius: 5px;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.pricing-card h2 {
    font-size: 1.5rem;
    margin-top: -20px;
    margin-bottom: 15px;
    float: left;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text);
    text-align: right;
}

.pricing-card p {
    color: var(--muted);
    line-height: 1.5;
    text-align: justify;
}

.pricing-note {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    max-width: fit-content;
}

.pricing-note p {
    color: var(--muted);
    line-height: 1.9;
    max-width: fit-content;
}

/* Quote-Section */

.quote-section img {
    position: relative;
    width: 290px;
    float: left;
    margin-left: -39px;
    opacity: 0.8;
}

.quote-section blockquote {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 10%;
    text-align: right;
    font-size: clamp(2.5rem,5vw,5rem);
    font-weight: 500;
    font-variant: small-caps;
    line-height: 1.1;
    max-width: fit-content;
}

.quote-section blockquote p {
    font-size: clamp(1.4rem,2vw,2.5rem);
    font-variant: normal;
    font-weight: normal;
    color: var(--navtext); 
    max-width: fit-content; 
    margin-left: 35%;
}

/* about-Section */

.about-text {
    text-align: justify;
}

.portrait {
    float: right;
    width: 270px;
    margin: 5%;
    border: 2px solid var(--navtext);
    border-radius: 5px;
}

.contact-info {
    flex-direction: column;
    gap: 15px;
    margin-top: 0px;
}

.contact-info p {
    margin-top: 20px;
    line-height: 2;
}
.contact-info a {
    color: black;
    text-decoration: none;
}

/* footer */

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer .container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--text);
}

/* Impressum, Datenschutz, AGB */

.legal-page {
    padding: 180px 0 120px;
    min-height: 100vh;
}

.legal-container {
    max-width: 850px;
}

.legal-page h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 80px;
    font-weight: 300;
    line-height: 1;
}

.legal-page h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 60px;
    margin-bottom: 20px;
}

.legal-page p,
.legal-page li {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--muted);
}

.legal-page p {
    margin-bottom: 20px;
}

.legal-page ul {
    margin: 20px 0 30px 25px;
}

.legal-page a {
    color: var(--text);
    text-decoration: none;
    text-underline-offset: 3px;
}

.legal-page strong {
    color: var(--text);
    font-weight: 500;
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--muted);
    transition: 0.3s;
}

.back-link:hover {
    color: var(--text);
}

/* RESPONSIVE */

@media(max-width: 900px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: block;
    }

    .kicker {
        opacity: 0.5;
    }

    .nav-links{
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        background: var(--bg);
        flex-direction: column;
        padding: 40px;
        transition: 0.4s;
        gap: 25px;
        border-top: 1px solid var(--navtext);
        border-bottom-left-radius: 5px;
    }

    .nav-links.active {
        right: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-section {
        padding: 100px 0;
    }

    .quote-section img {
        width: 190px;
    }

    .portrait {
        width: 210px;
    }

    .legal-page {
        padding: 130px 0 80px;
    }

    .legal-page h1 {
        margin-bottom: 50px;
    }

    .legal-page h2 {
        font-size: 1.6rem;
        margin-top: 40px;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}