:root {
    --bg: #f7f5f2;
    --surface: #ffffff;
    --beige: #e8e1d8;
    --accent: #9caf9a;
    --text: #2b2b2b;
    --soft: #6b6b6b;
    --anth: #2f2f2f;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

/* BASIS STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.2rem;
}

section {
    padding: 5rem 0;
}

img {
    width: 100%;
    display: block;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

p {
    color: var(--soft);
}

/* Die gesamte Nav-Zeile */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Der linke Bereich: Name + Icons */
.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    
}

/* Die Icons in der Nav */
.logo-area .social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo-area .social-links img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Die Buttons auf der rechten Seite */
.nav-buttons .btn.small {
    background: rgba(47, 47, 47, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-buttons .btn.small:hover {
    background: rgba(47, 47, 47, 1);
    transform: translateY(-2px);
}

.lang-circle-vertical {
  /* Festgelegte Maße erzwingen einen Kreis */
  width: 42px !important; 
  height: 42px !important;
  min-width: 42px !important; 
  border-radius: 50% !important; /* Macht es absolut rund */
  padding: 0 !important; 
  
  background: rgba(47, 47, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden; /* Schneidet alles außerhalb des Kreises ab */
}

.lang-circle-vertical span {
  font-size: 0.55rem; 
  line-height: 1.1;   
  display: block;
  letter-spacing: 0.5px;
}

.lang-circle-vertical:hover {
  background: rgba(47, 47, 47, 1);
  transform: translateY(-2px);
}

/* BUTTONS */
.btn {
    padding: .9rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: var(--anth);
    color: white;
    text-decoration: none;
    display: inline-flex;
    gap: .5rem;
    transition: 0.3s;
    align-items: center;
}

.btn.small {
    padding: .5rem 1rem;
    font-size: .8rem;
}

.btn:hover {
    background: var(--soft);
    color: white;
}

/* HERO */
.hero {
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr .9fr;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Ändere das hier: */
    background: transparent !important; 
    
}


/* CARDS & FORMS */
.grid {
    display: grid;
    gap: 1.5rem;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
    justify-content: center;
}

form.card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

input,
textarea {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    width: 100%;
    font-family: inherit;
}

/* PORTFOLIO (Original portfolio.css) */
.portfolio-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: .8rem;
}

.filter-btn {
    background: var(--beige);
    border: none;
    padding: .6rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;
}

.portfolio-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.video-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-placeholder {
    background: #eee;
    aspect-ratio: 9/16;
}

.video-info {
    padding: 1.2rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 4rem 0;
    color: var(--soft);
    border-top: 1px solid #eee;
    margin-top: 4rem;
}

/* SIGNATURE & ANIMATION */
.about-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    text-align: center;
    margin-top: 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}




/* Hover Effekt für die Preis-Karten */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Styling für die Social Icons in Nav & Footer */
.social-icon img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 4rem 0 2rem;
    border-top: 1px solid #ece7e1;
    background-color: var(--white);
}

.footer-content p {
    margin: 0.5rem 0;
}

.copyright-notice {
    font-size: 0.75rem;
    color: var(--soft);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto !important;
    line-height: 1.5;

    .footer-socials {
        display: flex;
        /* Aktiviert Flexbox */
        justify-content: center;
        /* Zentriert die Icons horizontal */
        align-items: center;
        /* Zentriert sie vertikal */
        gap: 15px;
        /* Abstand zwischen den beiden Icons */
        margin-top: 1.5rem;
        /* Abstand zum Text darüber */
    }

    .footer-socials img {
        width: 20px;
        height: 20px;
        opacity: 0.6;
        /* Etwas dezenter im Footer */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .footer-socials img:hover {
        opacity: 1;
        /* Volle Sichtbarkeit beim Hover */
        transform: scale(1.1);
        /* Kleiner Vergrößerungs-Effekt */
    }



}

/* MODERN COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: calc(100% - 40px);
    max-width: 550px;

    /* Glassmorphism Effekt */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(232, 225, 216, 0.5);
    /* Nutzt dein Beige */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 10000;

    /* Sanftes Einblenden beim Laden */
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text);
    margin: 0;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

/* Anpassung für Handy-Displays */
@media (max-width: 500px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 20px;
    }
}

/* Styling für den Rechtstext */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text);
}

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--beige);
    padding-bottom: 0.5rem;
}

.legal-text h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--anth);
}

.legal-text p {
    margin-bottom: 1.2rem;
    color: var(--soft);
}

/* Der UGC-Tag in der Nav */
.ugc-tag {
    font-weight: 300;
    font-size: 0.85rem;
    opacity: 0.6;
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
    /* Cleaner Kontrast zum Namen */
}

/* Transparente Nav Buttons aus der Checkliste */
.nav-buttons .btn.small {
    background: rgba(47, 47, 47, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gemeinsame Styles für alle Social-Container */
.social-links,
.footer-socials {
    display: flex !important;
    flex-direction: row !important;
    /* Erzwingt Nebeneinander */
    align-items: center;
    gap: 12px;
    /* Abstand zwischen den Icons */
}

/* Die Icons selbst bändigen */
.social-links img,
.footer-socials img {
    width: 22px !important;
    /* Hier kannst du die Größe perfekt einstellen */
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

/* Kleiner Effekt beim Drüberfahren */
.social-links img:hover,
.footer-socials img:hover {
    transform: scale(1.1);
}

/* Speziell für den Footer: Icons zentrieren */
.footer-socials {
    justify-content: center;
    margin-top: 15px;
}

/* Speziell für die Nav: Icons linksbündig neben dem Namen */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

#language-toggle {
    min-width: 70px;
    /* Gibt dem Button eine feste Breite */
    display: flex;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    background: rgba(47, 47, 47, 0.85);
    /* Dein transparenter Look */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#language-toggle span {
    transition: all 0.3s ease;
}

/* --- PORTFOLIO SYSTEM (FIX: KEINE UNTERSTREICHUNG) --- */

/* Das Grid-System */
.pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
    gap: 2.5rem;
    padding: 2rem 0;
    text-decoration: none !important;
}

/* Die Karte */
.pg-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Hover-Effekt: Karte kommt dem User entgegen */
.pg-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Der Medien-Bereich (Bild/Video) */
.pg-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Macht die Karte schön groß und hoch */
    overflow: hidden;
    background: #f0f0f0;
}

.pg-media img, 
.pg-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Bild zoomt leicht beim Hover */
.pg-card:hover .pg-media img,
.pg-card:hover .pg-media video {
    transform: scale(1.08);
}

/* Das Badge (Kategorie) oben rechts */
.pg-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Text-Bereich */
.pg-text {
    padding: 1.5rem;
    text-decoration: none !important;
}

.pg-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 600;
}

.pg-text p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsivität: Automatisch weniger Spalten auf dem Handy */
@media (max-width: 1024px) {
    .pg-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .pg-grid { grid-template-columns: 1fr; }
}


/* --- MOBILE NAVBAR FIX --- */

/* 1. Sicherstellen, dass die Nav niemals breiter als der Bildschirm ist */
.nav {
    width: 100%;
    left: 0;
    right: 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Erlaubt das Umbrechen der Elemente, falls der Platz nicht reicht */
    gap: 10px;
    padding: 0.8rem 1.2rem;
}

/* 2. Anpassung für kleine Handys (unter 480px) */
@media (max-width: 480px) {
    .logo-area {
        flex-direction: column; /* Logo und Social-Links untereinander */
        align-items: flex-start;
        gap: 5px;
    }

    .logo {
        font-size: 1.1rem; /* Schrift etwas kleiner, damit der Name passt */
    }

    .logo span {
        display: block; /* "| UGC Creator" in die nächste Zeile */
        margin-left: 0 !important;
        font-size: 0.75rem;
    }

    .nav-buttons {
        gap: 8px;
    }

    .btn.small {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 3. Fix für den Content-Abstand */
main {
    /* Damit der Inhalt nicht unter die (evtl. höher gewordene) Navbar rutscht */
    padding-top: 120px !important; 
}

/*FONTS*/


/* 1. PLAYFAIR DISPLAY (Überschriften) */
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* 2. INTER (Fließtext & Buttons) */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Signature';
    src: url('fonts/GreatVibes-Regular.ttf') format('truetype-variations');
    font-weight: 400;
}

.signature {
    font-family: 'Signature', cursive;
    font-size: 2rem;
    color: var(--dark);
    margin-top: 20px;
    /* Ein bisschen schräg stellen für den echten Vibe */
    transform: rotate(-3deg);
    display: inline-block;
}

/* Das Raster für die Projekte */
#portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

/* Die einzelnen Karten (Die weißen Kästen) */
.portfolio-item {
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 1px solid #eeeeee; /* Leichter grauer Rahmen */
    border-radius: 15px;       /* Abgerundete Ecken */
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Sanfter Schatten */
    display: flex;
    flex-direction: column;
}

/* Damit Bilder und Videos nicht über den Kasten hinausgehen */
.portfolio-item img, 
.portfolio-item video {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    background-color: #f0f0f0; /* Grauer Platzhalter, falls Bild fehlt */
    min-height: 200px;         /* Damit man den Kasten sieht, auch ohne Bild */
}