/* Angstpatienten — section 1: hero (same rules as Zygoma) */

.a4-angst-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 7;
    min-height: 0;
    max-height: 840px;
    height: auto;
}

@media (min-width: 1400px) {
    .a4-angst-hero {
        aspect-ratio: auto;
        min-height: 600px;
    }
}

.a4-angst-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.a4-angst-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 959px) {
    .a4-angst-hero {
        aspect-ratio: auto;
        max-height: none;
    }

    .a4-angst-hero__media img {
        object-position: center center;
    }
}

.a4-angst-hero__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.a4-angst-hero__content {
    max-width: 450px;
    margin: 0;
    text-align: left;
}

/* uk-text-lead */
.a4-angst-hero__eyebrow {
    margin: 20px 0 0;
    font-family: var(--a4-font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #2d2e33;
}

.a4-angst-hero__eyebrow strong {
    font-weight: 700;
}

/* uk-heading-small */
.a4-angst-hero__title {
    margin: 20px 0 0;
    font-family: var(--a4-font-body);
    font-size: 38.4px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: none;
    color: #2d2e33;
}

@media (min-width: 960px) {
    .a4-angst-hero__title {
        font-size: 48px;
    }

    .a4-angst-hero {
        aspect-ratio: auto;
        height: 100vh;
        min-height: 100vh;
        max-height: none;
    }
}

.a4-angst-hero__text {
    margin-top: 20px;
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: #6c6d74;
}

.a4-angst-hero__text p {
    margin: 0;
}

.a4-angst-hero__cta {
    margin-top: 20px;
}

/* uk-button-danger (same as Zygoma hero) */
.a4-button--danger {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 20px;
    border: 5px solid transparent;
    border-radius: 10px;
    background-color: #e74922;
    color: #fff;
    font-family: var(--a4-font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    transition: .1s ease-in-out;
}

.a4-button--danger:hover {
    background-color: #cc3713;
    border-color: #cc3713;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 959px) {
    .a4-angst-hero {
        min-height: 480px;
        max-height: none;
    }
}

@media (max-width: 400px) {
    .a4-angst-hero__title {
        font-size: 29.4px;
    }

    .a4-angst-hero__cta .a4-button--danger {
        font-size: 16px;
    }
}

/* ==========================================================================
   Section 3: intro + portrait + quote
   ========================================================================== */

.a4-angst-intro {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 0;
    background: #f7f7f7;
}

@media (min-width: 960px) {
    .a4-angst-intro {
        padding-top: 140px;
		padding-bottom: 40px;
    }
}

.a4-angst-intro__deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.a4-angst-intro__deco img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

/* Gray triangles — right side (client: right -80px, top -10vh) */
.a4-angst-intro__deco--grau {
    top: -5vh;
    right: -80px;
    width: min(42vw, 602px);
}

/* Orange — over photo (client absolute near portrait) */
.a4-angst-intro__deco--orange {
    left: -114px;
    bottom: 0%;
    width: min(28vw, 300px);
    z-index: 2;
}

.a4-angst-intro .a4-container {
    position: relative;
    z-index: 1;
}

.a4-angst-intro__top {
    margin-bottom: 140px;
}

.a4-angst-intro__copy {
    max-width: 890px; 
}

.a4-angst-intro__title {
    margin: 0 0 20px;
    font-family: var(--a4-font-body);
    font-size: 38.4px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    color: #2d2e33;
}

@media (min-width: 960px) {
    .a4-angst-intro__title {
        font-size: 48px;
    }
}

.a4-angst-intro__text {
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: #6C6D74;
}

.a4-angst-intro__text p {
    margin: 0 0 20px;
}

.a4-angst-intro__text p:last-child {
    margin-bottom: 0;
}

.a4-angst-intro__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: end;
}

@media (min-width: 960px) {
    .a4-angst-intro__bottom {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        align-items: center;
    }
}

.a4-angst-intro__media {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
}

@media (min-width: 960px) {
    .a4-angst-intro__media {
        text-align: right;
        transform: translateX(-40px); 
    }
}

.a4-angst-intro__photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 842px; 
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.a4-angst-intro__quote {
    margin: 0 0 20px;
    font-family: var(--a4-font-heading);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    color: #2d2e33;
}

@media (min-width: 960px) {
    .a4-angst-intro__quote {
        font-size: 56px;
        max-width: 36rem; 
    }
}

.a4-angst-intro__sign {
    margin: 0;
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: #6C6D74;
}

/* Fade only — no slide direction (uk-animation-fade) */
[data-a4-fade] {
    opacity: 0;
    transition: opacity 0.6s ease;
}

[data-a4-fade].is-visible {
    opacity: 1;
}

.a4-angst-intro__deco--mobile {
    display: none;
}

@media (max-width: 959px) {
    .a4-angst-intro__deco--desktop {
        display: none;
    }

    .a4-angst-intro__top {
        margin-bottom: 20px;
    }

    /* Break out of container — photo can reach screen edge */
    .a4-angst-intro__media {
        position: relative;
        text-align: left;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    @media (min-width: 640px) {
        .a4-angst-intro__media {
            margin-left: calc(-1 * var(--a4-container-padding));
            margin-right: calc(-1 * var(--a4-container-padding));
            width: calc(100% + 2 * var(--a4-container-padding));
        }
    }

    /* Photo pinned left + cropped */
    .a4-angst-intro__photo {
        width: 68%;
        max-width: none;
        margin: 0;
        margin-left: -12%;
        position: relative;
        z-index: 1;
    }

    /* Gray to the RIGHT of photo — no overlap on face */
    .a4-angst-intro__deco--mobile {
        display: block;
        top: -30%;
        right: -5%;
        left: auto;
        bottom: auto;
        width: min(42vw, 140px);
        opacity: 1;
        z-index: 0;
    }

    /* Orange off-screen left (section overflow:hidden clips it) */
    .a4-angst-intro__deco--orange {
        left: -160px;
        bottom: 8%;
        width: min(40vw, 180px);
        z-index: 2;
    }

    .a4-angst-intro__title {
        font-size: 31.4px;
    }

    .a4-angst-intro__quote {
        font-size: 28px;
    }
}

/* ==========================================================================
   Section 4: Dr. Zelener
   ========================================================================== */

.a4-angst-doctor {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f7f7f7;
}

.a4-angst-doctor__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 960px) {
    .a4-angst-doctor__grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 959px) {
    .a4-angst-doctor__media {
        order: -1;
    }
}

/* Shared media box — turkis + photo scale together */
.a4-angst-doctor__media {
    position: relative;
    width: min(72vw, 280px);
    aspect-ratio: 602 / 902;
    margin: 0 auto;
}

@media (min-width: 960px) {
    .a4-angst-doctor__media {
        width: 100%;
        max-width: 520px;
        margin: 0 0 0 auto;
        transform: translateX(30px);
    }
}

.a4-angst-doctor__deco {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    z-index: 0;
}

.a4-angst-doctor__photo {
    position: absolute;
    z-index: 2;
    display: block;
    width: 88%;
    height: auto;
    max-width: none;
    right: 25%;
    bottom: 16%;
    left: auto;
}

@media (min-width: 960px) {
    .a4-angst-doctor__photo {
        width: 78%;
        right: 10%;
        bottom: 20%;
    }
}

.a4-angst-doctor__name {
    margin: 0 0 12px;
    font-family: var(--a4-font-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: #e74922;
}

.a4-angst-doctor__role {
    margin: 0 0 20px;
    font-family: var(--a4-font-heading);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: #adadad;
}

.a4-angst-doctor__actions {
    margin-top: 40px;
}

.a4-angst-doctor__text {
    font-family: var(--a4-font-body);
	font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #2d2e33;
}

.a4-angst-doctor__text p {
    margin: 0 0 20px;
}

.a4-angst-doctor__text p:last-child {
    margin-bottom: 0;
}

/* Primary button + icon — same as Zygoma / CTA */
.a4-button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 20px;
    border: 5px solid transparent;
    border-radius: 10px;
    background-color: #e74922;
    color: #fff;
    font-family: var(--a4-font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    transition: .1s ease-in-out;
}

.a4-button--primary:hover {
    background-color: #cc3713;
    border-color: #cc3713;
    color: #fff;
    text-decoration: none;
}

.a4-button--with-icon {
    display: inline-flex;
    align-items: center;
}

.a4-button--with-icon .a4-button__icon {
    display: inline-flex;
    margin-right: 10px;
}

.a4-button--with-icon .a4-button__icon svg {
    display: block;
}

@media (min-width: 960px) {
	.a4-angst-doctor__text {
        font-size: 20px;
    }
	
    .a4-angst-doctor__name {
        font-size: 50px;
    }

    .a4-angst-doctor__role {
        font-size: 28px;
    }
}

@media (max-width: 375px) {
	.a4-angst-doctor__name {
		font-size: 28px;
	}
	
	.a4-angst-doctor__role {
		font-size: 23px;
	}
	
	.a4-angst-doctor__text {
        font-size: 18px;
    }
}

/* Fade + subtle slide up — used for Section 4 doctor text content only */
[data-a4-fade-up] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

[data-a4-fade-up].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Section 5: Angst / Vollnarkose / Ihre Vorteile
   ========================================================================== */

.a4-angst-benefits {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
    background: #fff;
}

@media (min-width: 960px) {
    .a4-angst-benefits {
        padding-top: 140px;
        padding-bottom: 140px;
    }
}

/* Decorative triangles, top-right, parallax on scroll — client: uk-background-top-right + uk-parallax="bgy: 0,-600" */
.a4-angst-benefits__deco {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
    will-change: transform;
}

.a4-angst-benefits__deco img {
    display: block;
    width: min(40vw, 560px);
    height: auto;
    max-width: none;
}

@media (max-width: 959px) {
    .a4-angst-benefits__deco {
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
	
	.a4-angst-benefits__deco img {
        width: auto;
        height: 800px;
    }
}

.a4-angst-benefits .a4-container {
    position: relative;
    z-index: 1;
}

.a4-angst-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 960px) {
    .a4-angst-benefits__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* uk-h3 (all three columns render the same muted color, even though col.1's h2 lacks uk-text-muted in the source) */
.a4-angst-benefits__title {
    margin: 0 0 12px;
    font-family: var(--a4-font-heading);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--a4-color-muted);
}

@media (min-width: 960px) {
    .a4-angst-benefits__title {
        font-size: 28px;
    }
}

/* uk-h4 (columns 1 & 2) */
.a4-angst-benefits__subtitle {
    margin: 0 0 20px;
    font-family: var(--a4-font-body);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--a4-color-heading);
}

@media (min-width: 960px) {
    .a4-angst-benefits__subtitle {
        font-size: 30px;
    }
}

/* uk-h5 (column 3 lead line) */
.a4-angst-benefits__lead {
    margin: 0 0 20px;
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--a4-color-heading);
}

.a4-angst-benefits__text {
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--a4-color-text);
}

.a4-angst-benefits__text p {
    margin: 0 0 20px;
}

.a4-angst-benefits__text p:last-child {
    margin-bottom: 0;
}

.a4-angst-benefits__cta {
    margin-top: 40px;
}

.a4-angst-benefits__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.a4-angst-benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.a4-angst-benefits__item:last-child {
    margin-bottom: 0;
}

.a4-angst-benefits__check {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--a4-color-muted);
}

.a4-angst-benefits__check svg {
    display: block;
}

.a4-angst-benefits__item-text {
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--a4-color-text);
}

/* Column 3 list — plain Wysiwyg <ul><li>, checkmark drawn in CSS (no extra asset) */
.a4-angst-benefits__list-text {
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--a4-color-text);
}

.a4-angst-benefits__list-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.a4-angst-benefits__list-text li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 16px;
}

.a4-angst-benefits__list-text li:last-child {
    margin-bottom: 0;
}

.a4-angst-benefits__list-text li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--a4-color-muted);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   Section 6: Patientenstimmen (testimonial slider)
   ========================================================================== */

.a4-angst-reviews {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f9eeeb;
}

@media (min-width: 960px) {
    .a4-angst-reviews {
        padding-top: 140px;
        padding-bottom: 140px;
    }
}

/* uk-h3 uk-text-danger uk-text-center@m */
.a4-angst-reviews__title {
    max-width: 46rem;
    margin: 0 auto 40px;
    font-family: var(--a4-font-heading);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: var(--a4-color-primary);
}

@media (min-width: 960px) {
    .a4-angst-reviews__title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

.a4-angst-reviews__slider {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y;
}

.a4-angst-reviews__track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
    cursor: grab;
}

.a4-angst-reviews__track:active {
    cursor: grabbing;
}

.a4-angst-reviews__slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.a4-angst-reviews__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Real photo — cropped to a circle */
.a4-angst-reviews__photo {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}

/* SVG placeholder avatar — shown as-is, not cropped to a circle */
.a4-angst-reviews__photo--avatar {
    width: 120px;
    height: 148px;
    border-radius: 0;
    object-fit: contain;
}

/* uk-h5 uk-text-danger */
.a4-angst-reviews__name {
    margin-top: 20px;
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 800;
    color: var(--a4-color-primary);
}

.a4-angst-reviews__stars {
    margin-top: 20px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 4px;
    color: var(--a4-color-primary);
}

.a4-angst-reviews__text {
    margin: 20px 0 0;
    font-family: var(--a4-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--a4-color-primary);
}

/* el-nav uk-slider-nav uk-dotnav — barely visible dots */
.a4-angst-reviews__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.a4-angst-reviews__dots button {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.a4-angst-reviews__dots li.is-active button {
    background: #fff;
}

@media(max-width: 959px) {
	.a4-angst-reviews__stars {
		margin-top: 40px;
	}
}

@media(max-width: 375px) {
	.a4-angst-reviews__title {
		font-size: 23px;
	}
}