/* =====================================================
   ROLLIEBA® — Premium Stylesheet
   ===================================================== */

/* =====================================================
   Self-hosted Fonts (kein Google CDN)
   ===================================================== */

/* Cormorant Garamond — Normal (300, 400, 600) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond — Italic (300) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — Normal (300, 400, 500) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* =====================================================
   CSS Custom Properties
   ===================================================== */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --gold-light: #d4af37;
  --gold-mid: #c9a84c;
  --gold-dark: #a8892b;
  --chrome: #c0c0c0;
  --text-primary: #f5f5f0;
  --text-muted: #7a7a74;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --gold-border: rgba(212, 175, 55, 0.25);
  --transition-base: 0.3s ease;
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --section-padding: clamp(5rem, 9vw, 9rem);
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* =====================================================
   Page Load Animations
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =====================================================
   Scroll Reveal Utility
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   Gold Shimmer
   ===================================================== */
@keyframes shimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--gold-dark)  0%,
    var(--gold-light) 25%,
    #f0d878           50%,
    var(--gold-light) 75%,
    var(--gold-dark)  100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
  display: inline;
}

/* =====================================================
   Gold Divider Line
   ===================================================== */
.gold-line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  margin: 1.75rem 0;
  flex-shrink: 0;
}
.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   Header / Navigation
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease,
              padding 0.5s ease,
              border-color 0.5s ease,
              backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.1rem 2.5rem;
  border-bottom-color: var(--gold-border);
}

.site-header .logo {
  display: flex;
  align-items: center;
}

.site-header .logo img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0;
  animation: fadeIn 1s ease 0.2s forwards;
  filter: brightness(0) invert(1) sepia(1) saturate(1.6) hue-rotate(5deg) brightness(0.92);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(7rem, 12vw, 9rem) clamp(1.5rem, 8%, 8rem) clamp(4rem, 6vw, 6rem);
  max-width: 600px;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.15s forwards;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 9vw, 10rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 0.92;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-subline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.48s forwards;
}

.hero-claim {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.62s forwards;
}

.hero .gold-line {
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.78s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--gold-mid);
  color: var(--gold-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: default;
  transition: background-color 0.35s ease,
              color 0.35s ease,
              border-color 0.35s ease,
              transform 0.35s ease;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.94s forwards;
}

.hero-cta:hover {
  background-color: var(--gold-light);
  color: #0a0a0a;
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* Hero image */
.hero-image-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Left vignette — blends image into dark bg */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-primary) 0%,
    rgba(10, 10, 10, 0.5) 35%,
    transparent 60%
  );
  z-index: 1;
}

/* Bottom vignette */
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  animation: fadeIn 1.4s ease 0.4s forwards;
  will-change: transform;
}

/* =====================================================
   Lifestyle Section
   ===================================================== */
.lifestyle {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #060606;
}

.lifestyle-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Barber.png');
  background-size: cover;
  background-position: center 30%;
  transition: transform 0.1s linear;
  will-change: transform;
}

.lifestyle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.55) 45%,
    rgba(10, 10, 10, 0.88) 100%
  );
  z-index: 1;
}

.lifestyle-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 8%, 8rem) clamp(4rem, 7vw, 7rem);
  max-width: 720px;
}

.lifestyle-content .gold-line {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.lifestyle h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.lifestyle-subline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 245, 240, 0.55);
  line-height: 1.15;
}

/* =====================================================
   Features Section
   ===================================================== */
.features {
  background-color: #0c0c0c;
  padding: var(--section-padding) clamp(1.5rem, 5%, 5rem);
}

.features-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  max-width: 920px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.04);
}

.feature-card {
  background-color: var(--bg-card);
  padding: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid transparent;
  transition: border-top-color 0.35s ease,
              background-color 0.35s ease,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-top-color: var(--gold-mid);
  background-color: #1c1c1c;
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--gold-border);
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo img {
  height: 28px;
  width: auto;
  opacity: 0.55;
  transition: opacity var(--transition-base);
}

.footer-logo img:hover {
  opacity: 0.85;
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(122, 122, 116, 0.6);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* =====================================================
   Thank You Page (bewertung/index.html)
   ===================================================== */
.thankyou-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: var(--bg-primary);
  gap: 0;
}

.thankyou-header {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.1s forwards;
}

.thankyou-header img {
  height: 36px;
  width: auto;
}

.thankyou-card {
  text-align: center;
  max-width: 520px;
  padding: 0 1rem;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.thankyou-icon {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.thankyou-card h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.thankyou-card .gold-line {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.thankyou-card p {
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 440px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

/* Checkmark SVG draw animation */
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.check-circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  animation: drawPath 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.check-mark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawPath 0.55s cubic-bezier(0.4, 0, 0.2, 1) 1.45s forwards;
}

/* =====================================================
   Legal Pages (Impressum / Datenschutz)
   ===================================================== */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page main {
  flex: 1;
  padding: clamp(8rem, 12vw, 10rem) clamp(1.5rem, 8%, 8rem) clamp(5rem, 8vw, 8rem);
  max-width: 760px;
}

.legal-page .legal-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 1.5rem;
  display: block;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.legal-page .legal-content {
  margin-top: 1rem;
}

.legal-page .legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page .legal-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.4rem;
}

.legal-page .legal-content p + p {
  margin-top: 0.25rem;
}

.legal-page .legal-content .placeholder {
  color: rgba(212, 175, 55, 0.45);
  font-style: italic;
}

.legal-page .legal-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.75;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.legal-page .legal-content ul {
  padding-left: 1.25rem;
  margin: 0.6rem 0 0.8rem;
}

.legal-page .legal-content li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.3rem;
  padding-left: 0.35rem;
}

.legal-page .legal-content li::marker {
  color: var(--gold-dark);
}

.legal-page .legal-content a {
  color: var(--gold-mid);
  text-decoration: none;
  transition: color var(--transition-base);
  word-break: break-all;
}

.legal-page .legal-content a:hover {
  color: var(--gold-light);
}

.legal-page .legal-content strong {
  font-weight: 500;
  color: rgba(245, 245, 240, 0.75);
}

/* Table of contents */
.legal-page .legal-content .index {
  list-style: none;
  padding-left: 0;
  border-left: 1px solid var(--gold-border);
  padding-left: 1.25rem;
  margin: 1.25rem 0 2rem;
}

.legal-page .legal-content .index li {
  padding-left: 0;
}

.legal-page .legal-content .index li::marker {
  content: none;
}

.legal-page .legal-content .index-link {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-page .legal-content .index-link:hover {
  color: var(--gold-light);
}

/* Generator credit */
.legal-page .legal-content .seal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: rgba(122, 122, 116, 0.4);
}

.legal-page .legal-content .seal a {
  color: rgba(122, 122, 116, 0.4);
}

.legal-page .legal-content .seal a:hover {
  color: var(--text-muted);
}

/* =====================================================
   Responsive — Tablet (768px)
   ===================================================== */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   Responsive — Desktop (1024px)
   ===================================================== */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   Responsive — Mobile (max 767px)
   ===================================================== */
@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .hero-content {
    order: 2;
    padding-top: 2rem;
    padding-bottom: 4rem;
    max-width: 100%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      var(--bg-primary) 15%
    );
    position: relative;
    z-index: 2;
  }

  .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    order: 1;
  }

  .hero-image-wrapper::before {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      var(--bg-primary) 100%
    );
  }

  .hero-image-wrapper::after {
    height: 50%;
  }

  .hero-image {
    object-fit: contain;
    object-position: center top;
    height: 100%;
  }

  .lifestyle-bg {
    background-attachment: scroll !important;
  }
}

/* =====================================================
   Responsive — Large screens (1280px+)
   ===================================================== */
@media (min-width: 1280px) {
  .hero-content {
    padding-left: max(8%, calc((100vw - 1280px) / 2 + 8%));
  }
}
