/*
Theme Name: Dein Name – Freiberuflich
Theme URI: https://example.com/
Author: Dein Name
Author URI: https://example.com/
Description: Elegantes, responsives WordPress-Theme für Reiki, psychologische Beratung, freie Rednertätigkeit und Event-Organisation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dein-name
*/

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --cream: #faf5ef;
    --cream-dark: #f1e5dc;
    --rose: #c98391;
    --rose-light: #e7bdc5;
    --rose-dark: #a75f70;

    --violet: #6e587b;
    --violet-dark: #4d3c59;
    --violet-light: #b6a1bd;

    --text: #403842;
    --text-light: #766d75;
    --white: #fffdfb;

    --shadow: 0 20px 60px rgba(78, 57, 75, .10);

    --serif: "Cormorant Garamond", Georgia, serif;
    --script: "Great Vibes", cursive;
    --sans: "Montserrat", Arial, sans-serif;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--cream);
    color: var(--text);

    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.8;

    overflow-x: hidden;
}

body.menu-is-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3 {
    margin-top: 0;

    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.05;
}

h1 {
    font-size: clamp(4rem, 8vw, 7.5rem);
}

h2 {
    font-size: clamp(3rem, 6vw, 5rem);
}

h3 {
    font-size: 2rem;
}

h1 span,
h2 em {
    color: var(--rose-dark);
    font-style: normal;
}

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 120px 0;
}

.eyebrow,
.small-label {
    color: var(--violet);

    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    transition:
        background .4s ease,
        box-shadow .4s ease;
}

.site-header.scrolled {
    background: rgba(250, 245, 239, .94);

    backdrop-filter: blur(15px);

    box-shadow:
        0 8px 30px rgba(70, 45, 60, .08);
}

.navbar {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    min-height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    font-family: var(--serif);
    font-size: 1.5rem;

    color: var(--violet-dark);
}

.logo-diamond {
    width: 17px;
    height: 17px;

    display: inline-block;

    border: 2px solid var(--rose);

    transform: rotate(45deg);
}


/* Desktop navigation */

.desktop-navigation {
    display: flex;
}

.desktop-navigation ul {
    display: flex;

    gap: 2rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.desktop-navigation a {
    position: relative;

    font-size: .72rem;
    font-weight: 500;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.desktop-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--rose-dark);

    transition: width .3s ease;
}

.desktop-navigation a:hover::after {
    width: 100%;
}


/* Mobile button */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    border: 1px solid var(--rose-light);

    background: var(--cream);

    cursor: pointer;

    position: relative;
    z-index: 10001;
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 3px 0;

    background: var(--violet-dark);

    transition: .25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Mobile menu */

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding:
        160px 24px
        100px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(231, 189, 197, .35),
            transparent 28%
        ),
        var(--cream);
}

.hero-content {
    position: relative;

    z-index: 3;

    max-width: 900px;
}

.hero h1 {
    margin:
        1rem 0
        1.7rem;
}

.hero-text {
    max-width: 620px;

    font-size: 1.05rem;
}

.hero-buttons {
    margin-top: 2.5rem;

    display: flex;
    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;
}


/* Hero decorations */

.hero-decoration {
    position: absolute;

    width: 300px;
    height: 300px;

    border:
        1px solid
        rgba(110, 88, 123, .12);

    transform: rotate(45deg);

    transition: margin .15s ease;
}

.hero-decoration::after {
    content: "";

    position: absolute;

    inset: 30px;

    border:
        1px solid
        rgba(201, 131, 145, .20);
}

.hero-decoration-left {
    left: -190px;
    top: 35%;
}

.hero-decoration-right {
    right: -180px;
    bottom: 10%;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 52px;

    padding:
        13px 26px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border:
        1px solid
        transparent;

    font-size: .7rem;
    font-weight: 600;

    letter-spacing: .13em;
    text-transform: uppercase;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--violet);

    color: white;

    box-shadow:
        0 12px 30px
        rgba(110, 88, 123, .20);
}

.button-primary:hover {
    background: var(--violet-dark);
}

.button-outline {
    border-color: var(--rose);

    color: var(--rose-dark);

    background: transparent;
}

.button-outline:hover {
    background: var(--rose);

    color: white;
}

.button-full {
    width: 100%;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    background: var(--white);

    text-align: center;
}

.narrow {
    max-width: 780px;
}

.diamond-symbol {
    margin-bottom: 1rem;

    color: var(--rose);

    font-size: 1.2rem;
}

.intro h2 {
    margin-bottom: 2rem;
}

.intro-text {
    max-width: 670px;

    margin:
        0 auto 1rem;

    color: var(--text-light);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 100px;
}

.about-image {
    position: relative;
}

.portrait {
    position: relative;

    width: min(
        100%,
        470px
    );

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e7c8ca,
            #b9a4be
        );

    box-shadow: var(--shadow);
}

.portrait img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.image-diamond {
    position: absolute;

    width: 80px;
    height: 80px;

    right: -30px;
    bottom: 35px;

    border:
        1px solid
        var(--rose);

    transform: rotate(45deg);
}

.about-content > p:not(.eyebrow) {
    margin-bottom: 1.2rem;

    color: var(--text-light);
}

.signature {
    margin-top: 2rem;

    color: var(--rose-dark);

    font-family: var(--script);

    font-size: 3rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--white);
}

.section-heading {
    max-width: 700px;

    margin-bottom: 60px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-intro {
    color: var(--text-light);
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 390px;

    padding: 35px 28px;

    background: var(--cream);

    border:
        1px solid
        rgba(110, 88, 123, .08);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.service-card-highlight {
    background: var(--violet);

    color: white;
}

.service-card-highlight p {
    color:
        rgba(255,255,255,.75) !important;
}

.service-number {
    color: var(--rose);

    font-size: .7rem;

    letter-spacing: .15em;
}

.service-icon {
    margin:
        35px 0 20px;

    color: var(--rose);

    font-size: 1.6rem;
}

.service-card h3 {
    margin-bottom: 18px;

    font-size: 2rem;
}

.service-card p {
    color: var(--text-light);

    font-size: .88rem;

    line-height: 1.8;
}

.text-link {
    position: absolute;

    left: 28px;
    bottom: 30px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--rose-dark);

    font-size: .68rem;

    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-card-highlight .text-link {
    color: var(--rose-light);
}


/* =========================================================
   QUOTE
========================================================= */

.quote-section {
    position: relative;

    padding: 130px 24px;

    overflow: hidden;

    background: var(--violet);

    color: white;

    text-align: center;
}

.quote-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.quote-mark {
    display: block;

    height: 60px;

    color: var(--rose-light);

    font-family: var(--serif);

    font-size: 7rem;

    line-height: .7;
}

.quote-section blockquote {
    margin: 0;

    font-family: var(--serif);

    font-size:
        clamp(
            2.3rem,
            5vw,
            4rem
        );

    line-height: 1.2;
}

.quote-line {
    width: 60px;
    height: 1px;

    margin:
        35px auto 0;

    background:
        var(--rose-light);
}

.quote-decoration {
    position: absolute;

    width: 280px;
    height: 280px;

    border:
        1px solid
        rgba(255,255,255,.08);

    transform: rotate(45deg);
}

.quote-decoration-one {
    left: -160px;
    top: -70px;
}

.quote-decoration-two {
    right: -160px;
    bottom: -100px;
}


/* =========================================================
   SPEAKER
========================================================= */

.speaker {
    background: var(--cream);
}

.speaker-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 100px;
}

.speaker-content > p:not(.eyebrow) {
    margin-bottom: 1.2rem;

    color: var(--text-light);
}

.speaker-content .button {
    margin-top: 1rem;
}

.speaker-card {
    padding: 20px;

    background: var(--rose-light);
}

.speaker-card-inner {
    min-height: 450px;

    padding: 50px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border:
        1px solid
        rgba(255,255,255,.6);
}

.speaker-card-small {
    font-family: var(--script);

    font-size: 2.3rem;

    color: var(--violet-dark);
}

.speaker-card-main {
    font-family: var(--serif);

    font-size: 4.5rem;

    line-height: 1;

    color: white;
}

.speaker-diamond {
    margin-top: 30px;

    color: var(--violet);
}


/* =========================================================
   EVENTS
========================================================= */

.events {
    background: var(--white);
}

.event-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        var(--rose-light);
}

.event-feature {
    padding: 40px 30px;

    display: flex;

    gap: 25px;

    border-right:
        1px solid
        var(--rose-light);
}

.event-feature:last-child {
    border-right: none;
}

.feature-number {
    color: var(--rose);

    font-family: var(--serif);

    font-size: 1.4rem;
}

.event-feature h3 {
    margin-bottom: 10px;

    font-size: 1.7rem;
}

.event-feature p {
    margin: 0;

    color: var(--text-light);

    font-size: .88rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7ece7,
            #eee4ef
        );
}

.contact-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 100px;

    align-items: start;
}

.contact-content > p:not(.eyebrow) {
    max-width: 500px;

    color: var(--text-light);
}

.contact-details {
    display: flex;

    flex-direction: column;

    margin-top: 35px;
}

.contact-details a {
    width: fit-content;

    margin-bottom: 10px;

    color: var(--violet);

    border-bottom:
        1px solid
        var(--rose-light);
}

.contact-form-wrapper {
    padding: 40px;

    background:
        rgba(255,255,255,.62);

    border:
        1px solid
        rgba(255,255,255,.8);

    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--violet-dark);

    font-size: .68rem;

    font-weight: 600;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 14px 16px;

    color: var(--text);

    background:
        rgba(255,255,255,.75);

    border:
        1px solid
        var(--rose-light);

    outline: none;

    border-radius: 0;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--violet);

    box-shadow:
        0 0 0 3px
        rgba(110,88,123,.08);
}

.form-note {
    margin-top: 15px;

    color: var(--text-light);

    font-size: .68rem;

    line-height: 1.6;
}

.form-success {
    display: none;

    padding: 30px;

    color: var(--violet-dark);

    text-align: center;

    background:
        rgba(255,255,255,.75);

    border:
        1px solid
        var(--rose-light);
}

.form-success.visible {
    display: block;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 40px 0;

    background: var(--violet-dark);

    color: white;
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1fr auto auto;

    gap: 40px;

    align-items: center;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 15px;
}

.footer-brand strong {
    display: block;

    font-family: var(--serif);

    font-size: 1.4rem;
}

.footer-brand small {
    display: block;

    color:
        rgba(255,255,255,.55);

    font-size: .65rem;

    letter-spacing: .08em;
}

.footer-links {
    display: flex;

    gap: 20px;
}

.footer-links a,
.copyright {
    color:
        rgba(255,255,255,.55);

    font-size: .65rem;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .site-header {
        background: var(--cream);
    }

    .navbar {
        width:
            calc(100% - 32px);

        min-height: 76px;
    }

    .desktop-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;

        position: fixed;

        inset: 0;

        width: 100%;
        height: 100dvh;

        z-index: 10000;

        background: var(--cream);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translateX(100%);

        transition:
            transform .4s ease,
            opacity .4s ease,
            visibility .4s ease;

        overflow-y: auto;
    }

    .mobile-menu.active {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateX(0);
    }

    .mobile-menu-inner {
        min-height: 100%;

        padding:
            100px 30px 50px;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 20px;
    }

    .mobile-menu-inner a {
        color: var(--violet-dark);

        font-family: var(--serif);

        font-size: 2rem;

        text-align: center;
    }

    .mobile-menu-decoration {
        color: var(--rose);

        font-size: 2rem;

        margin-bottom: 15px;
    }

    .about-grid,
    .speaker-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-image {
        max-width: 500px;

        margin: 0 auto;
    }

    .event-features {
        grid-template-columns: 1fr;
    }

    .event-feature {
        border-right: none;

        border-bottom:
            1px solid
            var(--rose-light);
    }

    .event-feature:last-child {
        border-bottom: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}


/* =========================================================
   KLEINE HANDYS
========================================================= */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 32px);
    }

    .hero {
        min-height: 100svh;

        padding:
            130px 20px 80px;
    }

    h1 {
        font-size:
            clamp(
                3.4rem,
                17vw,
                5rem
            );
    }

    h2 {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4rem
            );
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 350px;
    }

    .quote-section {
        padding: 100px 20px;
    }

    blockquote {
        font-size: 2.4rem;
    }

    .speaker-card-inner {
        min-height: 350px;

        padding: 30px;
    }

    .speaker-card-main {
        font-size: 3.7rem;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }

}

/* =========================================================
   WORDPRESS CONTENT
========================================================= */

.front-page {
    width: 100%;
}

.front-page > * {
    margin-top: 0;
    margin-bottom: 0;
}

.front-page .wp-block-group {
    box-sizing: border-box;
}

.front-page .wp-block-heading {
    margin-top: 0;
}

.front-page p {
    margin-top: 0;
}

.front-page img {
    max-width: 100%;
    height: auto;
}


/* WordPress Buttons an bestehendes Design anpassen */

.front-page .wp-block-button__link {
    border-radius: 0;
}


/* Gutenberg Spalten */

.front-page .wp-block-columns {
    margin-bottom: 0;
}


/* Mobile */

@media (max-width: 800px) {

    .front-page .wp-block-columns {
        flex-direction: column;
    }

}

/* =========================================================
   WORDPRESS / GUTENBERG
========================================================= */

.front-page {
    width: 100%;
}

.front-page > * {
    margin-top: 0;
    margin-bottom: 0;
}

.front-page .wp-block-group {
    box-sizing: border-box;
}

.front-page .wp-block-heading {
    margin-top: 0;
}

.front-page p {
    margin-top: 0;
}

.front-page img {
    max-width: 100%;
    height: auto;
}

.front-page .wp-block-button__link {
    border-radius: 0;
}

.front-page .wp-block-columns {
    margin-bottom: 0;
}

@media (max-width: 800px) {

    .front-page .wp-block-columns {
        flex-direction: column;
    }

}

