/* ==========================================================================
   MEDICAL AESTHETICS BODENSEE – MAIN.CSS
   Neu strukturiert nach front-page.php. CSS-Werte unverändert.
   Responsive Regeln gesammelt am Dateiende.
   ========================================================================== */


/* ==========================================================================
   01 – GRUNDLAGEN & TYPOGRAFIE
   ========================================================================== */


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: #1d1c1a;
    color: #ede9e1;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
}

.dn {
	display: none;
}

h1 {
    font-size: clamp(2.8rem, 5.2vw, 5rem);
    margin: 24px 0;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    max-width: 780px;
    margin: 20px 0 28px;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: #bdb8af;
    font-weight: 300;
    line-height: 1.75;
}

a {
    color: inherit;
}

a:hover {
    color: #c9b79a;
}

.wrap {
    max-width: 1152px;
    margin: auto;
    padding: 0 26px;
}

nav {
    display: flex;
    gap: 30px;
}

.section {
    padding: 90px 0;
    border-bottom: 1px solid #4a453e;
}

.alt {
    background: #191816;
}

input:not([type=checkbox]),
select,
textarea {
    display: block;
    width: 100%;
    padding: 13px;
    margin-top: 5px;
    background: #191816;
    border: 1px solid #575149;
    color: #eee;
    font: inherit;
}

textarea {
    resize: vertical;
}

.site-footer {
    background: #171614;
    border-top: 1px solid #383632;
    padding: 60px 0 0;
}

.site-footer p {
    color: #a9a39a;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer a {
    color: #a9a39a;
    text-decoration: none;
    transition: color .3s ease;
}

.site-footer a:hover {
    color: #c8b79c;
}

body,
input,
select,
textarea,
button {
    font-family: "Jost", sans-serif;
}


/* ==========================================================================
   02 – HEADER & NAVIGATION
   ========================================================================== */


h1,
h2,
h3,
.brand {
    font-family: Georgia, serif;
    font-weight: 400;
    line-height: 1.12;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #1d1c1aef;
    border-bottom: 1px solid #4a453e;
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    text-decoration: none;
    letter-spacing: .12em;
    font-size: 19px;
}

.brand span {
    color: #c9b79a;
}

.brand small {
    display: block;
    font: 10px Arial;
    letter-spacing: .35em;
    color: #a8a197;
    text-transform: uppercase;
}

nav a {
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
}

#menu-toggle {
    display: none;
}

h1,
h2,
h3,
.brand {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
}

nav a,
.btn,
.eyebrow {
    font-family: "Jost", sans-serif;
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 18px;

    background: #c9b79a;
    border: 1px solid #c9b79a;

    color: #1d1c1a;
    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;

    white-space: nowrap;
    transition: background .25s ease, color .25s ease;
}

.header-whatsapp:hover {
    background: #ede9e1;
    border-color: #ede9e1;
    color: #1d1c1a;
}

.header-whatsapp svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.nav {
    gap: 35px;
}

.nav nav {
    margin-left: auto;
}


/* ==========================================================================
   03 – HERO & BUTTONS
   ========================================================================== */


.hero-grid p:not(.eyebrow):not(.fine) {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: .01em;
}

.hero {
    border-bottom: 1px solid #4a453e;
}

.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 70px;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-img {
    margin: 0;
    height: 530px;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #c9b79a;
}

.hero em {
    color: #c9b79a;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    padding-top: 20px;
}

.hero-actions .hero-action {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 54px;
    padding: 10px 18px;
    line-height: 1.55;
    text-align: left;
}

.hero-action-whatsapp svg {
    flex: 0 0 17px;
}

.hero-action-treatments .hero-action-arrow {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 17px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    border: 1px solid #c9b79a;
    background: #c9b79a;
    color: #1d1c1a;
    text-decoration: none;
    padding: 14px 22px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: .16em;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
    opacity: .8;
    color: #1d1c1a;
}

.btn.outline {
    background: transparent;
    color: #eee;
    border-color: #746e65;
    
}

.btn.outline:hover {
    border-color: #c8b79c;
    color: #c8b79c;
}

.fine {
    font-size: 12px;
    color: #9b958a;
    text-transform: uppercase;
	letter-spacing: .2em;
	padding-top: 20px;
}

.section .wrap > .eyebrow {
    margin-top: 0;
}


/* ==========================================================================
   04 – ÜBER DIE PRAXIS
   ========================================================================== */


.about-grid {
    display: grid;
    grid-template-columns: .75fr 1.2fr .85fr;
    gap: 45px;
}

#praxis .about-grid > div {
    align-self: start;
}

#praxis {
	padding: 85px 0 90px;
}

#praxis .about-grid > div > .eyebrow {
    margin-top: 0;
}

.about-grid figure {
    margin: 0;
    border: 1px solid #4a453e;
    overflow: hidden;
    align-self: start;
}

.about-grid figure img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-grid figcaption {
    padding: 16px;
    border: 0;
    border-top: 1px solid #4a453e;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    line-height: 1.3;
}

.about-grid small {
	display: inline-block;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .1em;
    color: #bdb8af;
    text-transform: uppercase;
    padding-top: 6px;
}

.info {
    border: 1px solid #4a453e;
    padding: 25px;
}

.info dt {
    font-size: 11px;
    color: #c9b79a;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 22px;
}

.info dd {
    margin: 0;
    border-bottom: 1px solid #49443e;
    padding-bottom: 12px;
    font-size: 14px;
}

.brand small,
.about-grid small {
    font-family: "Jost", sans-serif;
}


/* ==========================================================================
   05 – EINBLICKE IN DIE PRAXIS
   ========================================================================== */


#einblick {
	padding: 85px 0 90px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid #4a453e;
}

.gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery figure:hover img {
    transform: scale(1.02);
}

.gallery figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 16px 14px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent
    );
    color: #ede9e1;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.5;
    pointer-events: none;
}


/* ==========================================================================
   06 – WISSENSCHAFT & FORTBILDUNG
   ========================================================================== */


#einblick > .wrap > p:not(.eyebrow),
#fortbildung > .wrap > p:not(.eyebrow) {
    max-width: 700px;
    font-size: 15px;
    line-height: 1.7;
}

#fortbildung {
	padding: 85px 0 90px;
}

#fortbildung .gallery figure {
    display: flex;
    flex-direction: column;
}

#fortbildung .gallery img {
    flex-shrink: 0;
}

#fortbildung .gallery figcaption {
    position: static;
    padding: 16px;
    background: transparent;
    color: #ede9e1;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.6;
    flex-grow: 1;
}


/* ==========================================================================
   07 – BEHANDLUNGEN
   ========================================================================== */


.treatments-intro {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 38px;
}

.treatments-heading h2 {
    margin-bottom: 0;
}

.treatments-description p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.treatments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #49443e;
    border: 1px solid #49443e;
    margin-top: 40px;
}

.treatments article {
    background: #24221f;
    padding: 30px;
}

.treatments article h3 {
    margin: 0 0;
}

.treatments article h3::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #978a75;
    margin-bottom: 18px;
}

.treatments article p {
    font-size: 14px;
}

.treatments article small {
    color: #c9b79a;
    text-transform: uppercase;
    letter-spacing: .12em;
}

#behandlungen {
	padding: 85px 0 72px;
}

#behandlungen > .wrap > p.fine {
	max-width: 700px;
	text-transform: none;
	letter-spacing: .1em;
}

#behandlungen .eyebrow {
    margin-top: 0;
}


/* ==========================================================================
   08 – ABLAUF
   ========================================================================== */


.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.steps h3 {
	font-family: "Jost", sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 2.2px;
}

.steps article {
    border-top: 1px solid #7c7062;
    padding: 20px 0 0;
}

.steps article p {
    padding-right: 40px;
}

.steps b {
    color: #c9b79a;
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
}

#ablauf {
	padding: 85px 0 66px;
}


/* ==========================================================================
   09 – FACHLICHE GRUNDLAGE / ANATOMIE
   ========================================================================== */


.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

#anatomie .two {
    grid-template-columns: 370px minmax(0, 1fr);
    gap: 40px;
}

.two img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

#anatomie figure {
    margin: 0;
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    border: 1px solid #4a453e;
    overflow: hidden;
}

#anatomie .gallery-image {
    overflow: hidden;
}

#anatomie .gallery-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.7s ease;
}

#anatomie figure:hover img {
    transform: scale(1.02);
}

#anatomie figcaption {
    padding: 16px;
    border-top: 1px solid #4a453e;
    color: #ede9e1;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.6;
}


/* ==========================================================================
   10 – KONTAKT & FORMULAR
   ========================================================================== */


#start .eyebrow,
#praxis .eyebrow,
#einblick .eyebrow,
#fortbildung .eyebrow,
#behandlungen .eyebrow,
#ablauf .eyebrow,
#anatomie .eyebrow,
#kontakt .eyebrow {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
}

#contact-form {
    border: 1px solid #4a453e;
    padding: 35px;
    background: #25231f;
}

#contact-form label {
    display: block;
    font-size: 13px;
    color: #bdb8af;
    margin-bottom: 15px;
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.consent input {
    margin-top: 6px;
}

#contact-form .btn {
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail > svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke: #c8b79c;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail span {
    display: block;
    margin-bottom: 5px;
    color: #a9a39a;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.contact-detail a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

.contact-detail a:hover {
    color: #c8b79c;
}
/* Kontaktbereich: mehr Platz für Kontaktdaten */
.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

/* Kontaktdaten: zwei Spalten, zwei Reihen */
.contact-details {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 25px;
    row-gap: 25px;
}

.contact-detail {
    min-width: 0;
}

/* E-Mail möglichst nicht umbrechen */
.contact-detail a {
    overflow-wrap: normal;
}
.contact-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 38px;
}

.contact-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 18px;
    line-height: 1.5;
    text-align: left;
}

.contact-actions .btn:first-child {
    flex: 1 1 auto;
}

.contact-actions .btn:last-child {
    flex: 0 0 auto;
}

.contact-actions svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-actions .btn:first-child {
    flex: 1 1 auto;
    justify-content: flex-start;
}

#contact-form .eyebrow {
    margin-bottom: 12px;
}

#contact-form h3 {
    margin-bottom: 8px;
}

#contact-form .form-intro {
    margin-bottom: 26px;
    font-size: 13px;
    color: #a9a39a;
}

#contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#contact-form .form-row label {
    min-width: 0;
}

#contact-form .form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

#contact-form .form-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px;
    font-size: 10px;
    line-height: 1.5;
}

#contact-form .form-actions svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   11 – FOOTER
   ========================================================================== */


.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-brand {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px !important;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #ede9e1 !important;
}

.footer-subtitle {
    margin: 0 0 24px;
    font-size: 10px !important;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.footer-contact h3,
.footer-nav h3 {
    margin: 0 0 22px;
    color: #c8b79c;
    font-family: "Jost", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.footer-contact p {
    margin: 0 0 10px;
}

.footer-nav nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-nav a {
    font-size: 14px;
    line-height: 1.2;
    text-transform: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #383632;
    padding: 24px 0 28px;
    color: #8f8980;
    font-size: 12px;
}

.nav-mobile,
.nav-mobile-only {
    display: none;
}
/* ==========================================================================
   12 – ANIMATIONEN & SONSTIGES
   ========================================================================== */


.reveal {
    animation: none !important;
}
/* Rechtliche Unterseiten: Impressum und Datenschutz */
.legal-page {
    min-height: 60vh;
    padding-top: 85px;
    padding-bottom: 62px;
}

.legal-header {
    margin-bottom: 42px;
}
.legal-header h1 {
	font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}
.legal-content h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}
.legal-header p {
	margin-top: 0px;
}
.legal-header .eyebrow {
    margin-bottom: 22px;
}

.legal-header h1 {
    margin: 0;
}

.legal-content {
    max-width: 820px;
    overflow-wrap: anywhere;
}
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin-top: 36px;
    margin-bottom: 4px;
}

.legal-content h2 + p,
.legal-content h3 + p,
.legal-content h4 + p {
    margin-top: 0;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
}

.legal-content a {
    color: #c9b79a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.legal-content a:hover {
    color: #ede9e1;
    text-decoration-color: transparent;
}


/* ==========================================================================
   RESPONSIVE – BREAKPOINTS (ABSTEIGEND)
   ========================================================================== */


/* (max-width: 1036px) */
@media (max-width: 1036px) {
	.nav-desktop {
    	display: none;
	}
	
	.nav-mobile,
	.nav-mobile-only {
	    display: inline;
	}
	.nav {
        min-height: 70px;
        gap: 20px;
    }

    /* Desktop-Navigation ausblenden */

    .nav nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 25px 26px;
        background: #1d1c1a;
        border-bottom: 1px solid #4a453e;
        flex-direction: column;
        gap: 22px;
    }

    /* Navigation nach Klick öffnen */

    .nav nav.open {
        display: flex;
    }
	
	.header-whatsapp {
	    order: 1;
	    margin-left: auto;
	    margin-right: 12px;
	    padding: 8px 18px;
	}
	
	#menu-toggle {
	    
	}
    /* Hamburger-Button */

    #menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 38px;
        height: 38px;
        padding: 0;

        background: transparent;
        border: 1px solid #393631;
        border-radius: 0;

        color: #ede9e1;
        font-size: 0;

        cursor: pointer;
        order: 2;
	    margin-left: 0;
    }

    /* Hamburger-Icon mit drei Linien */

    #menu-toggle::before {
        content: "";
        display: block;

        width: 16px;
        height: 12px;

        background: linear-gradient(
            to bottom,
            #ede9e1 0px,
            #ede9e1 1px,
            transparent 1px,
            transparent 5px,
            #ede9e1 5px,
            #ede9e1 6px,
            transparent 6px,
            transparent 10px,
            #ede9e1 10px,
            #ede9e1 11px,
            transparent 11px
        );
    }

    #menu-toggle:hover {
        border-color: #c9b79a;
    }
    html {
	    scroll-padding-top: 70px;
	}
}


/* (max-width: 900px) */
@media (max-width: 900px) {
.footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

.hero-grid,
    .about-grid,
    .two,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-img {
        height: 460px;
    }

    .treatments,
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
	.hero-grid {
		gap: 20px;
		padding-top: 45px;
		padding-bottom: 50px;
	}
	#praxis {
		padding: 45px 0 50px;
	}
	#praxis .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
        align-items: start;
    }

    /* Text oben über beide Spalten */
    #praxis .about-grid > div {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* Portrait links */
    #praxis .about-grid > figure {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    /* Auf einen Blick rechts */
    #praxis .about-grid > aside {
	    grid-column: 2;
	    grid-row: 2;
	    width: 100%;
	    align-self: stretch;
	}
	#praxis .about-grid figure img {
        object-position: center 40%;
    }
    #kontakt {
	    padding: 85px 0 90px;
    }
    
	/* KONTAKT – TABLET BIS 900px */
	
	/* Kontaktdaten in zwei Spalten */
	.contact-details {
	    display: grid;
	    grid-template-columns: 220px 220px;
	    column-gap: 25px;
	    row-gap: 25px;
	    justify-content: start;
	}
	
	/* Beide Buttons gleich breit */
	.contact-actions {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 12px;
	}
	
	.contact-actions .btn:first-child,
	.contact-actions .btn:last-child {
	    width: 100%;
	    min-width: 0;
	    flex: none;
	}
	.footer-nav {
        display: none;
    }

.nav {
        gap: 20px;
    }

    .nav nav {
        gap: 15px;
    }

    .header-whatsapp {
        padding: 10px 12px;
        font-size: 9px;
    }

.treatments-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* (max-width: 700px) */
@media (max-width: 700px) {
#anatomie .two {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
    }

    #anatomie .two > * {
        min-width: 0;
    }

    #anatomie figure {
        width: 100%;
        max-width: 100%;
    }

    #anatomie figure img {
        display: block;
        width: 100%;
        height: auto;
    }
}


/* (max-width: 650px) */
@media (max-width: 650px) {
	#contact-form .form-row,
    #contact-form .form-actions {
        grid-template-columns: 1fr;
    }

	.footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
	.header-whatsapp {
        display: none;
    }
/*
    .wrap {
        padding: 0 20px;
    }
*/

    .section {
        padding: 65px 0;
    }

/*
    .hero-grid {
        padding-top: 55px;
        gap: 30px;
    }
*/

    .hero-img {
        height: 380px;
    }

    .treatments,
    .gallery,
    .steps {
        grid-template-columns: 1fr;
    }




    #contact-form {
        padding: 22px;
    }

    .brand {
        font-size: 16px;
    }
    #praxis .about-grid {
        grid-template-columns: 1fr;
    }

    #praxis aside {
        display: none;
    }

    #praxis figure {
        width: 100%;
        max-width: none;
    }

    #praxis figure img {
        display: block;
        width: 100%;
    }
    #praxis .about-grid figure img {
    	object-position: center 35%;
  	}
  	#einblick {
	  	padding: 45px 0 50px;
	}
	#fortbildung {
		padding: 45px 0 50px;
	}
	#behandlungen {
	  	padding: 45px 0 32px;
	}
	#ablauf {
		padding: 45px 0 26px;
	}
	
	#anatomie {
		padding: 45px 0 50px;
	}
	/* Anatomie – Smartphone */
#anatomie .two {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

/* Text zuerst */
#anatomie .two > div:last-child {
    order: 1;
}

/* Bild darunter */
#anatomie .two > figure {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    align-self: start;
    justify-self: stretch;
}

/* Bildcontainer */
#anatomie .gallery-image,
#anatomie .gallery-image a {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
}

/* Bild in Originalproportion */
#anatomie .gallery-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}
	#kontakt {
		padding: 45px 0 50px;
	}
	.site-footer {
		padding: 40px 0 0;
	}
	.footer-grid {
		padding-bottom: 32px;
	}
	.legal-page {
		padding-top: 45px;
		padding-bottom: 22px;
	}
}


/* (max-width: 520px) */
@media (max-width: 520px) {
.contact-details {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
        flex: none;
    }
}


/* (max-width: 480px) */
@media (max-width: 480px) {
.hero-actions .hero-action {
        padding: 10px 12px;
        font-size: 10px;
    }
}


/* (max-width: 460px) */
@media (max-width: 460px) {
.footer-bottom {
        justify-content: flex-start;
    }

    .footer-bottom > :last-child {
        display: none;
    }
}


/* (prefers-reduced-motion: no-preference) */
@media (prefers-reduced-motion: no-preference) {
.ma-reveal-ready {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 750ms ease, transform 750ms cubic-bezier(.2,.7,.2,1);
        will-change: opacity, transform;
    }

    .ma-reveal-ready.ma-reveal-visible {
        opacity: 1;
        transform: translateY(0);
        will-change: auto;
    }
}

/* Anatomie – Bildhöhe auf mobilen Geräten korrigieren */
@media (max-width: 650px) {

    #anatomie figure,
    #anatomie .gallery-image,
    #anatomie .gallery-image a {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    #anatomie .gallery-image img {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 574 / 753;
        object-fit: contain;
    }

}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .contact-details {
        grid-template-columns: 1fr;
    }
}