/* ===========================
   Alex Pocha — Onepager Styles
   Based on CI.md
   =========================== */

/* --- Honeypot trap (anti-scraping) --- */
.hp-t {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  font-size: 0;
  line-height: 0;
  z-index: -1;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Custom Properties --- */
:root {
  --coral: #F07058;
  --coral-dark: #d4573f;
  --amber: #F5A623;
  --white: #FFFFFF;
  --charcoal: #2D2D2D;
  --off-white: #F9F9F9;
  --dark-slate: #1A1A2E;
  --gradient: linear-gradient(135deg, #F5A623, #F07058);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-btn: 8px;
  --radius-card: 12px;
  --max-width: 1200px;
  --section-pad: 80px;
  --section-pad-mobile: 48px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Accent Line --- */
.accent-line {
  width: 64px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin-bottom: 24px;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Label --- */
.label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn--primary:hover {
  background: var(--gradient);
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 112, 88, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

.btn--ghost:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--ghost-white:hover {
  background: var(--white);
  color: var(--dark-slate);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--white);
}

.nav__btn {
  font-size: 14px;
  padding: 8px 24px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-slate);
  color: var(--white);
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 112, 88, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -150px;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -100px;
}

/* Floating clouds */
.hero__cloud {
  position: absolute;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
  animation: floatCloud 8s ease-in-out infinite;
}

.hero__cloud--1 {
  width: 180px;
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.hero__cloud--2 {
  width: 120px;
  top: 60%;
  left: 3%;
  opacity: 0.15;
  animation-delay: -3s;
  animation-duration: 10s;
}

.hero__cloud--3 {
  width: 100px;
  bottom: 20%;
  right: 25%;
  opacity: 0.12;
  animation-delay: -5s;
  animation-duration: 12s;
}

@keyframes floatCloud {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-15px) translateX(10px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Section Common --- */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--dark-slate);
  color: var(--white);
}

.section--light {
  background: var(--off-white);
}

.section--white {
  background: var(--white);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section__header .label {
  color: var(--amber);
}

.section--dark .section__header .label {
  color: var(--amber);
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(45, 45, 45, 0.75);
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Content Block (2-column) --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-block__text h2 {
  margin-bottom: 16px;
}

.content-block__text p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(45, 45, 45, 0.75);
}

.section--dark .content-block__text p {
  color: rgba(255, 255, 255, 0.7);
}

/* Content Block Images */
.content-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-block__image {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.12));
  transition: transform 0.4s ease;
}

.content-block__image:hover {
  transform: scale(1.03);
}

.section--dark .content-block__image {
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.3));
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient);
  color: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-section__text {
  text-align: left;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section__image {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  animation: floatHero 6s ease-in-out infinite;
  animation-delay: -2s;
}

.cta-section .btn--white {
  background: var(--white);
  color: var(--coral);
  border-color: var(--white);
  font-weight: 600;
}

.cta-section .btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Contact Section --- */
.contact {
  text-align: center;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.contact__card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  transition: all var(--transition);
}

.contact__card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.contact__icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.contact__card h3 {
  margin-bottom: 12px;
}

.contact__card p {
  color: rgba(45, 45, 45, 0.7);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.contact__mail-link {
  color: var(--coral);
  font-weight: 600;
  font-size: 18px;
  transition: color var(--transition);
}

.contact__mail-link:hover {
  color: var(--amber);
}

/* Calendar Embed */
.contact__calendar {
  text-align: center;
}

.contact__calendar #cal-inline {
  min-height: 500px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* --- Impressum Page --- */
.impressum-page {
  background: var(--white);
  padding-top: calc(72px + var(--section-pad));
}

.impressum-page__header {
  max-width: 800px;
  margin: 0 auto 48px;
}

.impressum-page__header h1 {
  margin-bottom: 0;
}

.impressum-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum-page__content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 20px;
}

.impressum-page__content h3:first-child {
  margin-top: 0;
}

.impressum-page__content p {
  margin-bottom: 12px;
  color: rgba(45, 45, 45, 0.75);
  line-height: 1.7;
}

.impressum-page__content a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.impressum-page__content a:hover {
  color: var(--amber);
}

.impressum-page__back {
  max-width: 800px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(45, 45, 45, 0.1);
}

/* --- Footer --- */
.footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer__brand p {
  font-size: 14px;
  max-width: 360px;
  line-height: 1.7;
  margin-top: 16px;
}

.footer__logo img {
  height: 48px;
  width: auto;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav a {
  font-size: 14px;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__contact a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--white);
}

/* LinkedIn icon */
.icon-linkedin {
  display: inline-block;
  width: 20px;
  height: 20px;
}

/* --- Mobile Menu --- */
.nav__overlay {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: var(--section-pad-mobile) 0;
  }

  .cta-section {
    padding: var(--section-pad-mobile) 0;
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-slate);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    transition: right var(--transition);
    z-index: 200;
  }

  .nav__links.is-open {
    right: 0;
  }

  .nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 150;
  }

  .nav__overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 18px;
  }

  /* Content blocks */
  .content-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-block--reverse {
    direction: ltr;
  }

  .content-block__visual {
    order: -1;
  }

  .content-block__image {
    max-width: 260px;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__image {
    max-width: 260px;
  }

  .hero__subtitle {
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__cloud--1 {
    width: 100px;
  }

  .hero__cloud--2 {
    width: 70px;
  }

  .hero__cloud--3 {
    display: none;
  }

  /* CTA */
  .cta-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-section__text {
    text-align: center;
  }

  .cta-section__image {
    max-width: 220px;
  }

  /* Contact */
  .contact__cards {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section__header p,
  .content-block__text p {
    font-size: 16px;
  }

  .cta-section p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }
}
