@import url('clash-display.css');
@import url('stardom.css');

/*Variabler*/
:root {
  /* Rubriker */
  --h1-size: 4rem;          /* 64px */
  --h1-line-height: 4.5rem; /* 72px */
  --h1-weight: 700;
  --h1-letter-spacing: -0.0625rem; /* -1px */

  --h2-size: 3rem;          /* 48px */
  --h2-line-height: 3.5rem; /* 56px */
  --h2-weight: 600;
  --h2-letter-spacing: -0.03125rem; /* -0.5px */

  --h3-size: 2rem;          /* 32px */
  --h3-line-height: 2.5rem; /* 40px */
  --h3-weight: 500;
  --h3-letter-spacing: 0;

  --h4-size: 1.5rem;        /* 24px */
  --h4-line-height: 2rem;   /* 32px */
  --h4-weight: 500;
  --h4-letter-spacing: 0;

  /* Body / Brödtext */
  --body-large-size: 1.25rem;       /* 20px */
  --body-large-line-height: 1.75rem; /* 28px */
  --body-large-weight: 400;
  --body-large-letter-spacing: 0;

  --body-size: 1rem;                 /* 16px */
  --body-line-height: 1.5rem;        /* 24px */
  --body-weight: 400;
  --body-letter-spacing: 0;

  /* Små texter / captions */
  --caption-size: 0.75rem;           /* 12px */
  --caption-line-height: 1rem;       /* 16px */
  --caption-weight: 400;
  --caption-letter-spacing: 0.03125rem; /* 0.5px */

  /* Buttons / labels */
  --button-size: 0.875rem;           /* 14px */
  --button-line-height: 1.25rem;     /* 20px */
  --button-weight: 500;
  --button-letter-spacing: 0.03125rem; /* 0.5px */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Detta aktiverar filtret vi definierade i HTML */
    filter: url(#noise-texture);
    pointer-events: none; /* Gör att du kan klicka "igenom" bruset */
    z-index: 9998; /* Precis under navigationen */
}

* {
    box-sizing: border-box;
    list-style: none;
}
body {
    padding: 0;
    overflow-x: hidden;
    margin: 0;
    font-family: 'ClashDisplay-Regular', sans-serif;
    background-color: #F5EFE6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
header{
    display: flex;
    padding-left: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: top 0.3s ease;
    height: 80px;

    /* From https://css.glass */
    background: rgba(143, 143, 143, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.container{
    display: flex;
    align-items: center;
    background-color: #DAF3DD;
}

/* Justera headern för att rymma knappar till höger */
.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    width: 100%;
}

.nav-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.menu-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.nav-links-bento {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links-bento li a {
    font-size: 1.5rem;
    font-family: 'ClashDisplay-SemiBold', sans-serif;
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-links-bento li a:hover {
    transform: translateX(8px);
    color: #542533;
}

/* Den gröna boka-knappen i naven */
.nav-boka-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #6B705C;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'ClashDisplay-Variable', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* Rensa bort din gamla logoplacering om den krockar */
.logo {
    position: static; /* Ändra från absolute för att flexbox ska fungera */
    max-width: 60px;
}

/* Layout för sektionen */
.services-section {
    position: relative;
    padding: 0; /* Rejält med luft ovanför/under */
    width: 100%;
    overflow: clip;
}

.track-container {
    width: 100%;
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 2rem;
    width: 300vh; /* Krävs för din scroll-logik i JS */
    padding: 2rem 5vw;
    will-change: transform;
}

/*=====KORT-DESIGN=====*/
.card {
    flex: 0 0 400px; /* Fast bredd på desktop */
    background: rgba(255, 255, 255, 0.4); /* Subtil transparens */
    backdrop-filter: blur(12px); /* Frostad glaseffekt */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px; /* Stramare hörn för exklusiv känsla */
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Stardom', serif; 
    color: #1a1a1a;
}

.card .price {
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 3rem;
}

.card-link {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    width: fit-content;
    padding-bottom: 2px;
}

.services-footer {
    position: absolute;     
    bottom: 50px;          
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;           
    pointer-events: none;   
    margin-top: 0;          
}

.services-footer a {
    pointer-events: auto;   
}

/* MOBIL-ANPASSNING & ANIMATION */
@media (max-width: 992px) {
    .track {
        flex-direction: column;
        width: 100%;
        padding: 0 5%;
        gap: 2rem;
    }

    .card {
        flex: 0 0 auto;
        width: 100%;
        min-height: auto;
    }

    .card.reveal {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.8s ease;
    }

    .card.reveal.active {
        opacity: 1;
        transform: translateX(0);
    }
}

.group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
}
.hero{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    position: relative;
    gap: 4rem;
    min-height: 100vh;
    padding: 2rem 5%;
    margin-top: 0;
    padding-top: 7rem;
}
.hero-centered {
    justify-content: center;
}
.hero-centered .hero-text {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}
.hero-image {
    display: block;
    margin-left: auto;
    width: 20%;
    max-width: 100%;
    height: auto;
}
.hero-image-container{
    flex: 0 0 40%;
    padding: 2rem;
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    margin: 0;
    object-fit: cover;
}
.hero-image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 70vh;
}

.hero-text{
    flex: 1;
    height: 100%;
}
.hero h1{
    flex: 1;
    position: relative;
    line-height: var(--h1-line-height);
    font-weight: var(--h1-weight);
    letter-spacing: 0.04em;
    color: #542533;
    font-family: 'Stardom-Regular';
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero h4{
    flex: 1;
    font-family: 'ClashDisplay-Variable', sans-serif;
    font-size: 1.25rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    word-spacing: 0;
    font-weight: 350;
    font-variation-settings: "wght";
    color: #552735;
    margin-bottom: 0;
    padding-bottom: 3.5rem;
    max-width: 760px;
}

.button{
    border-radius: 1rem;
}
.hero-button{
    display: inline-block;
    bottom:0;
    font-size: 2.25rem;
    line-height: var(--h3-line-height);
    font-weight: var(--h3-weight);
    letter-spacing: var(--h3-letter-spacing);
    color: #F4F1DE;
    background-color: #542533;
    border-radius: 8px;
    font-family: 'ClashDisplay-Variable', sans-serif;
    text-align: center;
    font-variation-settings: "wght";
    font-weight: 550;
    text-decoration: none;
    padding: 2rem 6.25rem;
    transition: ease 0.3s, background ease 0.3s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.hero-button:focus,
.hero-button:focus-visible,
.hero-button:active {
    outline: none;
    box-shadow: none;
    background-color: #542533;
}
.hero-button::selection {
    background: transparent;
}
.button-row {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
}
.info-panel {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto 4rem;
}
.info-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(84, 37, 51, 0.08);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}
.info-card h2 {
    font-family: 'Stardom', serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 0 0 1.5rem;
    color: #542533;
}
.info-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #433338;
    margin: 0 0 1.25rem;
}
.hero-button:hover {
    background-color: #3d1b25;
    transform: scale(110%);
}
.hero-badge{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding-bottom: 4.5rem;
}
.hero-badge p{
    padding: 0.75rem 2.5rem;
    color: #542533;
    border-radius: 16px;

    /* Subtil genomskinlig bakgrund — mer markerad än sidan */
    background-color: rgba(84, 37, 51, 0.12);
    border: 1px solid rgba(84, 37, 51, 0.08);
    box-shadow: 0 6px 20px rgba(84, 37, 51, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Styling för själva Menu-knappen */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  border-radius: 50px; 
  border: none;
  background-color: #E0E0E0; 
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

/* De två prickarna i knappen */
.dots {
  display: flex;
  flex-direction: column; 
  gap: 4px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 50%;
}

/* Overlay-menyn (gömd som standard) */
.dropdown-overlay {
  display: none; /* Ändras till 'flex' med JS */
  position: fixed;
  top: 80px; /* Avbstånd från header */
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(245, 239, 230, 0.95); 
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.nav-links-vertical {
  text-align: center;
  list-style: none;
  padding: 0;
}

.nav-links-vertical li {
  margin: 20px 0;
}

.nav-links-vertical a {
  font-size: 2rem;
  text-decoration: none;
  color: #542533; 
  font-family: 'Stardom-Regular';
}
.manu-wraper{
    animation: 3s ease;
}
.rating {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

h2 {
    font-family: 'ClashDisplay-SemiBold', sans-serif;
    font-size: var(--h2-size);
    color: #542533;
    line-height: var(--h2-line-height);
    font-weight: var(--h2-weight);
}
.badge-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-left: -0.5rem;
}

#tjänster {
	height: 300vh; 
    width: 100%;
	position: relative;
    background: linear-gradient(
        to bottom, 
        #F5EFE6 0%,  
        #ffffff 50%,   
        #ffffff 100%   
    );
}

/* ===== Bento Toggle Button (överkomplicerad menyknapp) ===== */
.bento-toggle {
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(84, 37, 51, 0.14);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0.8rem 1rem;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    z-index: 10;
    box-shadow: 0 18px 40px rgba(84, 37, 51, 0.06);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.bento-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(84, 37, 51, 0.22);
    transform: translateY(-1px);
}
.bento-label {
    position: relative;
    width: 6.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ClashDisplay-Variable', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #542533;
    margin-right: 0.75rem;
    overflow: hidden;
}
.label-open,
.label-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ClashDisplay-Light', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    color: #542533;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}
.label-open {
    opacity: 1;
    transform: translateX(0);
}
.label-close {
    opacity: 0;
    transform: translateX(120%);
}
.bento-toggle:has(+ .bento-dropdown.active) .label-open {
    opacity: 0;
    transform: translateX(-120%);
}
.bento-toggle:has(+ .bento-dropdown.active) .label-close {
    opacity: 1;
    transform: translateX(0);
}
.bento-icon {
    display: flex;
    gap: 4px;
    align-items: center;
}
.bento-icon svg {
    width: 10px;
    height: 10px;
}
.bento-icon circle {
    fill: #542533;
    opacity: 0.75;
}
.bento-toggle:has(+ .bento-dropdown.active) {
    background-color: #ffffff;
}

/* ===== Dropdown ===== */
.bento-dropdown {
  position: fixed;
  top: 88px;
  right: 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bento-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.bento-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(84, 37, 51, 0.08);
  padding: 2.25rem 2.5rem;
  border-radius: 30px;
  box-shadow: 0 35px 90px rgba(84, 37, 51, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 240px;
}
.bento-card a {
  text-decoration: none;
  font-size: 1.25rem;
  color: #1a1a1a;
  font-family: 'Stardom-Regular', serif;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, transform 0.2s ease;
}
.bento-card a:hover {
  color: #542533;
  transform: translateX(4px);
}

.language-toggle {
    align-self: flex-start;
    border: 1px solid rgba(84, 37, 51, 0.2);
    border-radius: 999px;
    background: transparent;
    color: #542533;
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 0.55rem 0.8rem;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    background: #542533;
    color: #ffffff;
    outline: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ===== Philosophy ===== */
.philosophy {
    background-color: #ffffff;
    margin-left: -2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 10vh 5% 5rem 5%; 
}
.philosophy h2 {
    font-family: 'stardom-regular', sans-serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.14em;
    word-spacing: 0.5rem;
    transform: translate(-50% -50%);
    margin-bottom: -0.5rem;
    position: relative;
}
.philosophy h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 155%;         
    height: 1px;         
    background-color: #1a1a1a;
}
.philosophy-container {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    margin: 2rem auto; 
    max-width: 1440px; /* Håller ihop designen för stora skärmar */
    gap: 2rem;
    position: relative;
}
.philosophy-left{
    grid-column: 1 / 2;
}
.philosophy-left-content {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 2.5fr;;
    gap: 4rem;
}
.philosophy-left-content p {
    color: #000000;
    line-height: 24px;
    letter-spacing: 6%;
    font-size: var(--body-size);
    font-weight: var(--body-weight);
    font-family: 'ClashDisplay-Variable', sans-serif;
    margin-right: 2rem;
    margin-top: 0.25rem;
    position: relative;
    padding-left: 80px;
    margin-left: -2.5rem;
}
.philosophy-left-content p::before {
    content: "";
    position: absolute;
    left: 0;               
    top: 12px;              
    width: 63px;             
    height: 2px;             
    background-color: #000;  
}
.philosophy-right{
    grid-column: 2/3;
    position: relative;
}
.philosophy-right img {
    width: 400px;
    height: auto;
    position: absolute;
    top:0;
    right: 0;
    border: #1a1a1a solid 1px;
}
.philosophy-footer {
    grid-column: 1 / -1;
    display: flex;
    align-items:center;
    justify-content: space-evenly;
    gap: 1rem;
    position: absolute;
    bottom:0;
    right: 0;
    width: 80.5%;
    height: auto;

    border: #1a1a1a solid 1px;
    border-left: none;
}
.philosophy-footer p {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size:2.25rem;
    line-height: var(--body-large-line-height);
    letter-spacing: var(--body-large-letter-spacing);
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
}
.philosophy-container h2 {
    font-family: 'ClashDisplay-SemiBold', sans-serif;
    font-size: var(--h2-size);
    color: #000000;
    line-height: 52px;
    font-weight: var(--h2-weight);
    grid-column: 1 / -1;
    letter-spacing: 4%;
    padding-top: 3rem;
    padding-bottom: 2rem;
}
.philosophy-left img {
    width: 280px;
    height: auto;
    border: #000000 solid 1px;
}

/* ===== Philosophy Animation ===== */
.reveal {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

/* Startpositioner */
.phil-left {
    transform: translateX(-80px); 
}

.phil-right {
    transform: translateX(80px); 
}
.phil-ease {
    transform: translateY(40px); 
}

/* Aktivt läge (När de syns på skärmen) */
.reveal.active {
    opacity: 1;
    transform: translate(0, 0); 
}

#kontakt {
    padding: 10vh 5%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.kontakt-info h2 {
    font-size: var(--h2-size);
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-family: 'ClashDisplay-Medium', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    padding: 1rem;
    border: 1px solid #1a1a1a30;
    border-radius: 8px;
    font-family: 'ClashDisplay-Variable', sans-serif;
    background: #F5EFE640;
    transition: border 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #542533;
}

.submit-btn {
    background-color: #542533;
    color: #F4F1DE;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'ClashDisplay-SemiBold', sans-serif;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, background 0.3s ease;
}

.submit-btn:hover {
    background-color: #3d1b25;
    transform: translateY(-2px);
}

.hidden { display: none; }

/* Mobilanpassning */
@media (max-width: 768px) {
    .kontakt-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


footer {
    background-color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
    font-family: 'ClashDisplay-Light', sans-serif;
    color: #26262680;
    font-size: 0.875rem;
}






/* Responsiv anpassning för Filosofi-sektionen */
@media (max-width: 992px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    .nav {
        width: 100%;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 7rem 5% 3rem;
        min-height: auto;
    }

    .hero-text {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 9vw, 4rem);
        line-height: 1.1;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero h4 {
        font-size: 1.05rem;
        max-width: 100%;
        margin: 0;
        padding: 0;
        line-height: 1.75;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-image-container img {
        width: 100%;
        height: auto;
        max-height: 55vh;
    }

    .hero-button {
        font-size: 1.05rem;
        padding: 1rem 2rem;
        width: min(100%, 320px);
    }

    .hero-badge {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .hero-badge p {
        padding: 0.75rem 1.25rem;
    }

    #tjänster,
    .track-container,
    .track {
        height: auto !important;
    }

    .track-container {
        position: relative;
        display: block;
        overflow: visible;
        top: auto;
    }

    .track {
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: 1.5rem;
        width: 100%;
        padding: 0 5%;
    }

    .card {
        width: 100%;
        min-height: auto;
    }

    .card:hover {
        transform: none !important;
    }

    .services-footer {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
        pointer-events: auto;
    }

    .philosophy-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 5%;
    }

    .philosophy-left-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-left {
        padding-left: 0;
    }

    .philosophy-right {
        display: none;
    }

    .philosophy-left img {
        width: 100%;
        height: auto;
    }

    .philosophy-footer {
        position: relative;
        width: 100%;
        flex-direction: column;
        padding: 2rem 0;
        border-left: 1px solid #1a1a1a;
        margin-top: 3rem;
    }

    #kontakt {
        padding: 6rem 5% 4rem;
    }

    .kontakt-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.philosophy-footer p {
    font-size: 1.5rem;
}
