/* base.css – unverändert aus der ursprünglichen style.css übernommen */

:root {

    /* Schriften */
    --font-body: "Lato", sans-serif;
    --font-heading: "Cormorant Garamond", serif;

    /* Farben aus Astra */
    --color-accent: #737880;
    --color-link: #65696F;
    --color-link-hover: #737880;

    --color-text: #393C40;
    --color-heading: #151616;

    --color-border: #FFFFFF;

    --color-background: #FFFFFF;
    --color-content-background: #FFFFFF;
}

/* Grundlayout */

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
     color: #5e6167;
    background-color: var(--color-background);
    margin: 0;
}

/* Überschriften */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin-top: 0;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 25px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 15px;
}

/* Links */

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    color: var(--color-link-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}


main {
    padding: 80px 0;
}



/* Visual Moments: gemeinsamer Hintergrund auf ALLEN Seiten */
:root { --color-background:#faf7f1; --color-content-background:transparent; --color-heading:#342d29; --color-text:#665e57; --color-accent:#947b66; --color-link:#806956; --color-link-hover:#4d3b2d; }
html {min-height:100%; background:#faf7f1;}
body {min-height:100vh; background-color:#faf7f1; background-image:url('../images/decor/visual-moments-background.webp'); background-position:center center; background-size:cover; background-repeat:no-repeat; background-attachment:fixed; color:var(--color-text);}
/* Bei bestehenden Inhaltscontainern den Hintergrund nicht durch Weiß überdecken. */
body > main, body > .page-wrapper, body > .site-wrapper, body > .portfolio-section {background-color:transparent;}
@media(max-width:767px){body{background-attachment:scroll;background-size:cover;background-position:center top;}}


/* Visual Moments – Test: Hintergrundmotiv auf Portfolio/Galerie zu 0 % sichtbar.
   Nur die Hintergrundebene wird aufgehellt, nicht die Bilder oder Inhalte. */
body:has(.portfolio-section),
body:has(.portfolio-grid),
body:has(.gallery-page),
body:has(.gallery-categories),
body:has(.gallery-mobile-controls) {
    background-image:
        linear-gradient(rgba(250,247,241,1), rgba(250,247,241,1)),
        url('../images/decor/visual-moments-background.webp');
}


/* Visual Moments: Über mich, Kontakt, Impressum und Datenschutz – Motiv 25 %.
   Die 75%-Creme-Überlagerung wirkt nur auf das Hintergrundbild. */
body:has(.about-section),
body:has(.contact-section),
body:has(.legal-page) {
    background-image:
        linear-gradient(rgba(250,247,241,.75), rgba(250,247,241,.75)),
        url('../images/decor/visual-moments-background.webp');
}
