/* ==========================================================================
   COSTALUNGA Physiotherapie – Minimalist Editorial Stylesheet
   ========================================================================== */

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-serif-display: 'Bodoni Moda', 'Didot', 'Playfair Display', Georgia, serif;
  --font-serif-body: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  overflow-x: hidden;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. Startseite (Hero Section)
   ========================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vh, 6rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

.hero-composition {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;
}

.brand-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(2.6rem, 8.8vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text-color);
  user-select: none;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: clamp(240px, 28vw, 360px);
  aspect-ratio: 16 / 10.5;
  margin-top: clamp(-0.9rem, -1.6vw, -1.5rem);
  margin-bottom: clamp(-1.7rem, -3.1vw, -2.8rem);
  transform: rotate(-2.4deg);
  overflow: hidden;
  background-color: #f4f4f4;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 85% 47%;
  filter: grayscale(100%) contrast(1.04);
}

.brand-subtitle {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 6.8vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-color);
}

.coming-soon {
  margin-top: clamp(3.2rem, 6.5vh, 5.2rem);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555555;
}

/* ==========================================================================
   2. Kontaktbereich (Contact Section)
   ========================================================================== */

.contact {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4.5rem, 10vh, 8rem) clamp(1.5rem, 6vw, 5rem);
}

.contact-container {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-heading {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: clamp(2.4rem, 5.5vh, 4.4rem);
}

.contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.8vh, 1.35rem);
}

.contact-line {
  font-family: var(--font-serif-body);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--text-color);
}

.contact-line a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  border-bottom-color: var(--text-color);
  color: #333333;
  opacity: 0.8;
  outline: none;
}

.contact-logo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.contact-logo img {
  width: clamp(170px, 22vw, 270px);
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   3. Responsive Anpassungen (Tablet & Smartphone)
   ========================================================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 92svh;
  }

  .portrait-frame {
    width: clamp(210px, 56vw, 290px);
    margin-top: -0.55rem;
    margin-bottom: -1.15rem;
  }

  .contact {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-logo {
    justify-content: flex-start;
  }

  .contact-logo img {
    width: 175px;
  }
}
