/*
 Theme Name:   AdNord Child (GeneratePress)
 Theme URI:    https://generatepress.com
 Description:  AdNord GeneratePress child theme
 Author:       Tom Usborne & AdNord Media GmbH
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==============================
   VARIABLES
============================== */
:root {
    --tp-accent: #b33a2b;      /* Terrakotta / Rioja-Rot */
    --tp-accent-soft: #e6b8a2;
    --tp-light: #fff7ef;       /* warmes Elfenbein */
}

/* ==============================
   NAVIGATION
============================== */
.inside-article {
    max-width: 1200px;
    margin: 0 auto;
}
/* Wrapper */
.tp-nav {
    margin-bottom: 18px;
    position: relative;
    z-index: 6;
}

/* Desktop Menu */
.tp-nav-menu {
    list-style: none;
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.tp-nav-menu a {
    position: relative;
    color: var(--tp-light);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.tp-nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--tp-accent);
    transition: width 0.3s ease;
}

.tp-nav-menu a:hover,
.tp-nav-menu .current-menu-item > a {
    color: var(--tp-accent-soft);
}

.tp-nav-menu a:hover::after,
.tp-nav-menu .current-menu-item > a::after {
    width: 100%;
}

.tp-page-title {
	text-align: center;
	position: relative;
	z-index: 3;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255,255,255,0.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

.tp-page-title h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(26px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.15;
padding: 20px;
	text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}


/* Toggle Button */
.tp-nav-toggle {
    display: none;
    font-family: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--tp-light);
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tp-nav-toggle:hover {
    background: rgba(179,58,43,0.85);
    border-color: var(--tp-accent);
    color: #fff;
}

/* Mobile Navigation */
@media (max-width: 1090px) {
    .tp-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 6px;
    }

    .tp-nav-menu {
        display: none;
        flex-direction: column;
        gap: 12-14px;
        margin-top: 10-14px;
        padding: 12-18px;
        background: rgba(0,0,0,.55-.85);
        backdrop-filter: blur(8px);
        border-radius: 10-14px;
        box-shadow: 0 20px 40px rgba(0,0,0,.35);
    }

    .tp-nav-menu.is-open {
        display: flex;
		        text-align: center;
    }

    .tp-nav-menu a {
        font-size: 16px;
        letter-spacing: 0.12em;
    }

    .tp-nav-menu a::after {
        display: none;
    }

    .tp-nav-menu a:hover {
        color: var(--tp-accent-soft);
    }

	.tp-header-inner {
    padding: 0rem !important;
}

/* .tp-hero p {
    background-color: #ffffff57;
    padding: 20px;
} */
/* .tp-logo-center {
       background-color: #ffffff59;
   padding: 12px;
} */
.tp-logo-center img {
/*     max-width: 100% !important; */
    transition: all 0.6s ease;
	width: 100%;
}
}

/* Specific Menu Item */
li#menu-item-531 {
    width: 100%;
}

/* ==============================
   HEADER & HERO
============================== */

/* Header Base */
.tp-header {
    position: relative; /* für absolute Wave */
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* Header Wave */
.tp-header-wave {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    /* height: 80-120px; */
    rotate: 180deg;
    z-index: 10;
}

.tp-header-wave path {
    fill: #ffffff; /* Wellenfarbe */
}


.tp-footer {
	position: relative;
	background: #111; /* oder deine Footer-Farbe */
}

.tp-footer-wave {
	position: absolute;
	top: -40px;         /* gleiche Höhe wie die Wave */
	left: 0;
	width: 100%;
	height: 100px;
	display: block;
rotate: 180deg;
	color: #ffffff;     /* Farbe der Wave = Hintergrund der Seite */
	z-index: 2;
	pointer-events: none;

	transform: rotate(180deg);
}

.tp-footer-inner,
.tp-footer-bottom {
	position: relative;
	z-index: 3;
}

/* Background Parallax Layer */
/* .tp-bg {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/ATplDJbVy4UtUwKE0snPGj1idLOCafQJgPEgPosuUZjGDUqx3zFlRB8sz45aK325CW9YXZ-vQc7LtjlpybV7JaY2C5GNEKA3_3DA7FqnGfmECY19shPU4yVpnNoEZW9uasGMDL3DzN4QaaJNS6w-HnN8hYFyew8xBUdK0DkPQwrB5LAxTf8F-1.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
} */


.tp-bg {
    position: absolute;
    inset: 0;
     background-image: url('/wp-content/uploads/ATplDJbVy4UtUwKE0snPGj1idLOCafQJgPEgPosuUZjGDUqx3zFlRB8sz45aK325CW9YXZ-vQc7LtjlpybV7JaY2C5GNEKA3_3DA7FqnGfmECY19shPU4yVpnNoEZW9uasGMDL3DzN4QaaJNS6w-HnN8hYFyew8xBUdK0DkPQwrB5LAxTf8F-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* ← hier */
    transform: scale(1.08);
    will-change: transform;
}


/* Overlay */
.tp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
}

/* Header Inner */
.tp-header-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 2rem; */
    display: flex;
    flex-direction: column;
}

/* Topbar */
.tp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-logo a {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
.tp-hero {
    margin: 20px;
    text-align: center;
    animation: fadeUp 1.2s ease forwards;
}

.tp-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
	
}

.tp-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* Buttons */
.tp-btn {
    display: inline-block;
    padding: 0.9rem 2.6rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.tp-btn:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    color: #ed3511;
}

/* Centered Logo Animation */
.tp-logo-center {
    margin: 2rem 0;
    opacity: 0;
    animation: logoAnim 3s ease-out forwards;
}

.tp-logo-center img {
    max-width: 33%;
    width: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
    justify-content: center;
    display: flex;
}

@keyframes logoAnim {
    0%   { transform: scale(0.5); opacity: 0; }
    50%  { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.8; }
}

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

.tp-footer {
    background: linear-gradient(to bottom, #1a1a1a, #111);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

/* Inner */
.tp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

/* Brand */
.tp-footer-brand {
    text-align: left;
}

.tp-footer-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    filter: none;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tp-footer-logo img:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.tp-footer-brand h3 {
    font-family: "Playfair Display", serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tp-footer-claim {
    opacity: 0.75;
}

/* Footer Blocks */
.tp-footer-block h4 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
}

.tp-footer-block p {
    line-height: 1.6;
    margin: 0;
}

/* Footer Links */
.tp-footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tp-footer a:hover {
    opacity: 1;
}

/* Footer Menu */
.tp-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-footer-menu li {
    margin-bottom: 0.6rem;
}

.tp-footer-menu a {
    position: relative;
}

.tp-footer-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.6);
    transition: width 0.3s ease;
}

.tp-footer-menu a:hover::after {
    width: 100%;
}

/* Bottom */
.tp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==============================
   MEDIA QUERIES
============================== */

/* Footer Mobile */
@media (max-width: 768px) {
    .tp-footer-inner {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .tp-footer-brand {
        text-align: center;
    }
}
