/* === LOCAL FONTS === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-700.woff2') format('woff2');
}

/* === VARIABLES === */
:root {
  --beige-light:  #f5f0e8;
  --beige-mid:    #e8ddc8;
  --beige-dark:   #d4c5a9;
  --brown-light:  #b89a6e;
  --brown-mid:    #8c6b3e;
  --brown-dark:   #5c3d1e;
  --text-dark:    #2e1f0e;
  --text-mid:     #6b4e2a;
  --text-light:   #f5f0e8;
  --white:        #ffffff;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(92,61,30,0.10);
  --transition:   0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--beige-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-mid);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  gap: 0.35em;
  align-items: baseline;
}
.logo-first {
  color: var(--brown-dark);
}
.logo-last {
  color: var(--brown-light);
  font-weight: 400;
  font-style: italic;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
nav ul a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
nav ul a:hover { color: var(--brown-dark); }
.btn-nav {
  background: var(--brown-mid);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  transition: background var(--transition) !important;
  font-size: 0.95rem !important;
}
.btn-nav:hover { background: var(--brown-dark) !important; }

/* === HERO / START === */
#start {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--beige-light) 0%, var(--beige-mid) 60%, var(--beige-dark) 100%);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Background decorative images */
.hero-bg-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.22;
}
.hero-bg-globe {
  width: 420px;
  bottom: -60px;
  left: -80px;
  transform: rotate(-15deg);
  opacity: 0.28;
}
.hero-bg-hobel {
  width: 460px;
  top: 60px;
  right: -100px;
  transform: rotate(12deg);
  opacity: 0.28;
}
.hero-bg-kfs {
  width: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
}
.hero-content { max-width: 700px; }

/* === OVERVIEW VISUALS === */
.overview-visuals {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.ov-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition);
}
.ov-visual:hover { transform: translateY(-6px); }
.ov-visual img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(92,61,30,0.18));
  transition: filter var(--transition);
}
.ov-visual:hover img {
  filter: drop-shadow(0 12px 28px rgba(92,61,30,0.28));
}
.ov-visual-kfs img {
  filter: drop-shadow(0 8px 20px rgba(0,140,255,0.3));
}
.ov-visual-kfs:hover img {
  filter: drop-shadow(0 12px 28px rgba(0,180,255,0.5));
}
.ov-contact-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-contact-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px rgba(92,61,30,0.18));
  transition: filter var(--transition);
}
.ov-visual:hover .ov-contact-icon svg {
  filter: drop-shadow(0 12px 28px rgba(92,61,30,0.28));
}
.ov-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.ov-sub {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: -0.4rem;
}
.ov-visual-kfs .ov-title { color: var(--brown-dark); }
.ov-visual-kfs .ov-sub   { color: var(--text-mid); }

@media (max-width: 600px) {
  .ov-visual img, .ov-contact-icon { width: 110px; height: 110px; }
  .overview-visuals { gap: 1.2rem; }
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.75rem;
}
.hero-welcome {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.05;
  margin-bottom: 0.3rem;
}
.hero-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--brown-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.tagline-dot {
  color: var(--brown-light);
  margin: 0 0.4em;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--brown-light);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--brown-mid);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--brown-dark); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--brown-mid);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid var(--brown-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-secondary:hover { background: var(--brown-mid); color: var(--white); transform: translateY(-2px); }

/* === CONTAINER === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 680px; }

/* === SECTIONS === */
section { padding: 6rem 0; }
.label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.75rem;
}
.label.light { color: var(--beige-dark); }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.section-dark h2 { color: var(--beige-light); }
.sub { color: var(--text-mid); margin-bottom: 2rem; }
.sub.light { color: var(--beige-dark); }

/* === ABOUT === */
#about { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: center;
}
.about-photo-col { display: flex; justify-content: center; }
.about-photo {
  width: 300px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--beige-mid);
  box-shadow: 0 12px 40px rgba(92,61,30,0.15);
}
.about-photo img,
.about-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown-mid);
  text-align: center;
  line-height: 1.5;
}
.about-photo.no-img img,
.about-photo.no-img video { display: none; }
.about-photo.no-img .photo-placeholder { display: flex; }

.about-text-col h2 { margin-bottom: 1.2rem; }
.about-text-col p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.about-tags span {
  background: var(--beige-light);
  border: 1px solid var(--beige-dark);
  color: var(--brown-mid);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  cursor: default;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Tischler — wobble like sawing */
@keyframes tagSaw {
  0%,100% { transform: rotate(0deg); }
  20%     { transform: rotate(-6deg) translateX(-2px); }
  60%     { transform: rotate(6deg)  translateX(2px); }
}
.tag-tischler:hover { animation: tagSaw 0.4s ease infinite; }

/* KI — digital pulse */
@keyframes tagPulse {
  0%,100% { transform: scale(1);    box-shadow: none; }
  50%     { transform: scale(1.12); box-shadow: 0 0 12px rgba(0,180,255,0.5); border-color: #00c8ff; color: #006fa8; }
}
.tag-ki:hover { animation: tagPulse 0.6s ease infinite; }

/* Travel — fly right and back */
@keyframes tagFly {
  0%          { transform: translateX(0) rotate(0deg); }
  40%         { transform: translateX(14px) rotate(8deg); }
  100%        { transform: translateX(0) rotate(0deg); }
}
.tag-travel:hover { animation: tagFly 0.6s ease infinite; }

/* Calisthenics — pump up */
@keyframes tagPump {
  0%,100% { transform: scale(1)    translateY(0); }
  30%     { transform: scale(1.15) translateY(-4px); }
  60%     { transform: scale(0.95) translateY(1px); }
}
.tag-cali:hover { animation: tagPump 0.5s ease infinite; }

/* Wandern — hop step */
@keyframes tagHop {
  0%,100% { transform: translateY(0); }
  30%     { transform: translateY(-6px) rotate(-3deg); }
  60%     { transform: translateY(-2px) rotate(2deg); }
}
.tag-wander:hover { animation: tagHop 0.55s ease infinite; }

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo { width: 220px; height: 280px; }
}

/* === TWO COL === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse .text-col { order: 2; }
.two-col.reverse .img-col  { order: 1; }
.text-col p { color: var(--text-mid); margin-bottom: 1.5rem; }
.section-dark .text-col p { color: var(--beige-dark); }
.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}
.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.section-dark .feature-list li { color: var(--beige-dark); }
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brown-light);
}
.placeholder-img {
  background: linear-gradient(135deg, var(--brown-mid), var(--brown-dark));
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--beige-light);
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.placeholder-img.wood {
  background: linear-gradient(135deg, var(--brown-light), var(--brown-mid));
}

/* === DARK SECTION (contact) === */
.section-dark {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
}

/* === KIFLOWSTATE SECTION === */
.section-kfs {
  background: linear-gradient(160deg, #040d1e 0%, #071428 60%, #050e1c 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.kfs-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.kfs-glow-1 {
  width: 700px; height: 700px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(0,160,255,0.13) 0%, transparent 65%);
}
.kfs-glow-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(0,80,200,0.10) 0%, transparent 65%);
}

/* Top block */
.kfs-top {
  text-align: center;
  padding-bottom: 0.5rem;
}
.kfs-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #00c8ff;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.25);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}
.kfs-headline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}
.kfs-logo-big {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0,180,255,0.45));
  animation: kfsLogoPulse 3s ease-in-out infinite;
}
@keyframes kfsLogoPulse {
  0%,100% { filter: drop-shadow(0 0 18px rgba(0,180,255,0.4)); }
  50%     { filter: drop-shadow(0 0 36px rgba(0,200,255,0.7)); }
}
.kfs-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.kfs-accent { color: #00c8ff; }
.kfs-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00c8ff;
  margin-bottom: 1.2rem;
}
.kfs-sub {
  color: #90a8c0;
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* Divider */
.kfs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,0.3), transparent);
  margin: 2.5rem 0 2rem;
}
.kfs-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00c8ff;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Team */
.kfs-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}
.kfs-member {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,180,255,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.kfs-member:hover {
  border-color: rgba(0,180,255,0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,140,255,0.12);
}
.kfs-avatar {
  width: 150px;
  height: 170px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a1e3a, #0d2848);
  border: 2px solid rgba(0,180,255,0.3);
  margin-bottom: 1rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.kfs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.kfs-avatar-initial {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #00c8ff;
  align-items: center;
  justify-content: center;
}
.kfs-member h4 {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.kfs-age {
  font-size: 0.74rem;
  color: #00c8ff;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}
.kfs-member p {
  color: #7a9ab8;
  font-size: 0.87rem;
  line-height: 1.7;
}

/* Offers */
.kfs-offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.kfs-offer {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,180,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.kfs-offer:hover {
  border-color: rgba(0,180,255,0.35);
  transform: translateY(-3px);
}
.kfs-offer-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.6rem;
}
.kfs-offer h5 {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
}
.kfs-offer p {
  color: #7a9ab8;
  font-size: 0.82rem;
  line-height: 1.65;
}

/* CTA Banner */
.kfs-cta-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(0,180,255,0.10) 0%, rgba(0,80,200,0.15) 100%);
  border: 1.5px solid rgba(0,200,255,0.35);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.kfs-cta-text {
  flex: 1;
}
.kfs-cta-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.kfs-cta-sub {
  color: #90a8c0;
  font-size: 0.97rem;
  margin-bottom: 0.8rem;
}
.kfs-cta-url {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(0,200,255,0.55);
  font-family: 'Inter', sans-serif;
}
.btn-kfs-big {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #00c8ff;
  color: #050e1c;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(0,200,255,0.35);
}
.btn-kfs-big:hover {
  background: #33d4ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,200,255,0.55);
}
.btn-kfs-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.btn-kfs-big:hover .btn-kfs-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .kfs-headline-row { flex-direction: column; gap: 0.6rem; }
  .kfs-logo-big { margin: 0 auto; }
  .kfs-team { grid-template-columns: 1fr; }
  .kfs-offers { grid-template-columns: 1fr; }
  .kfs-cta-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .btn-kfs-big { width: 100%; justify-content: center; }
}

/* === TISCHLER SECTION === */
#tischler { background: var(--white); }
.tischler-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.tischler-intro {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

/* === PORTFOLIO GALLERY === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige-light);
  border: 1px solid var(--beige-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.portfolio-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--beige-mid);
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(92,61,30,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}
.portfolio-info {
  padding: 1.1rem 1.3rem;
}
.portfolio-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}
.portfolio-info p {
  font-size: 0.82rem;
  color: var(--text-mid);
}
#portfolio-dots { display: none; }


/* === FORMS === */
.signup-form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
}
.section-dark input[type="text"],
.section-dark input[type="email"],
.section-dark textarea {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,240,232,0.3);
  color: var(--beige-light);
}
.section-dark input::placeholder,
.section-dark textarea::placeholder { color: var(--beige-dark); }
input:focus, textarea:focus {
  border-color: var(--brown-mid);
}
textarea { resize: vertical; }

.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.radio-group { color: var(--beige-dark); }
.radio-group span { font-weight: 500; margin-right: 0.25rem; }
.checkbox-group label, .radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.section-dark .checkbox-group label { color: var(--beige-dark); }

.success-msg {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(140,107,62,0.15);
  border: 1px solid var(--brown-light);
  border-radius: var(--radius);
  color: var(--brown-mid);
  text-align: center;
  font-weight: 500;
}
.section-dark .success-msg {
  background: rgba(245,240,232,0.15);
  border-color: var(--beige-dark);
  color: var(--beige-light);
}

/* === FOOTER === */
footer {
  background: var(--brown-dark);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
footer .logo { font-size: 1.8rem; color: var(--beige-light); margin-bottom: 1rem; }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--beige-light);
  margin-bottom: 1rem;
}
.footer-links { margin-bottom: 1rem; }
.footer-links a {
  color: var(--beige-dark);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--beige-light); }
.footer-legal { margin-bottom: 0.6rem; }
.footer-legal a {
  color: var(--beige-dark);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--beige-light); }
.footer-copy { font-size: 0.8rem; color: var(--brown-light); }

/* === LEGAL PAGES === */
.legal-page {
  min-height: 100vh;
  padding: 8rem 0 5rem;
  background: var(--beige-light);
}
.legal-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown-dark);
  margin-bottom: 2.5rem;
}
.legal-page h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin: 2rem 0 0.5rem;
}
.legal-page p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.legal-page ul {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-page a { color: var(--brown-mid); }
.legal-back {
  margin-top: 3rem;
}
.legal-back a {
  color: var(--brown-mid);
  text-decoration: none;
  font-weight: 500;
}
.legal-back a:hover { color: var(--brown-dark); }

/* === ICON ANIMATIONS === */

/* Globe — 3D Y-axis spin */
@keyframes globeSpinY {
  0%   { transform: perspective(350px) rotateY(0deg); }
  100% { transform: perspective(350px) rotateY(360deg); }
}
#globe-img.spinning {
  animation: globeSpinY 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* KI logo — waves oscillate (no full rotation) */
@keyframes waveOscillate {
  0%,100% { transform: translateX(0)    scaleY(1);    }
  25%     { transform: translateX(4px)  scaleY(1.04); }
  75%     { transform: translateX(-4px) scaleY(0.96); }
}
.ov-visual-kfs:hover .kfs-wave-img {
  animation: waveOscillate 0.9s ease-in-out infinite;
}

/* Envelope flap */
.envelope-flap {
  transform-box: fill-box;
  transform-origin: top center;
  transition: transform 0.35s ease;
}
.ov-visual:hover .envelope-flap {
  transform: rotateX(160deg);
}

/* Wood shavings particle */
@keyframes shavingFly {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(0.3); opacity: 0; }
}
.wood-shaving {
  position: fixed;
  width: 18px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  background: #b8742a;
  border: 1.5px solid #7a4a10;
  pointer-events: none;
  z-index: 9999;
  transform-origin: center;
  animation: shavingFly 0.65s ease-out forwards;
}

/* === HEDWIG OWL === */
.hedwig {
  position: fixed;
  width: 110px;
  height: 110px;
  pointer-events: none;
  z-index: 9999;
  animation: hedwigFly 2.2s cubic-bezier(0.2, 0, 0.5, 1) forwards;
}
@keyframes hedwigFly {
  0%   { transform: translate(0px, 0px)    scale(0.4) rotate(0deg);  opacity: 0; }
  10%  { transform: translate(-15px,-20px) scale(0.9) rotate(-8deg); opacity: 1; }
  35%  { transform: translate(30px,-90px)  scale(1.1) rotate(10deg); opacity: 1; }
  65%  { transform: translate(-40px,-200px) scale(1) rotate(-15deg); opacity: 1; }
  100% { transform: translate(80px,-380px)  scale(0.7) rotate(20deg);opacity: 0; }
}
@keyframes wingFlapL {
  0%,100% { transform: rotate(0deg);    }
  50%     { transform: rotate(-35deg);  }
}
@keyframes wingFlapR {
  0%,100% { transform: rotate(0deg);   }
  50%     { transform: rotate(35deg);  }
}
.hedwig .wing-l {
  transform-origin: right center;
  transform-box: fill-box;
  animation: wingFlapL 0.28s ease-in-out infinite;
}
.hedwig .wing-r {
  transform-origin: left center;
  transform-box: fill-box;
  animation: wingFlapR 0.28s ease-in-out infinite;
}

/* === LIGHTBOX === */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}
#lightbox.active { display: flex; }
.lb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lb-content img {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lb-caption {
  text-align: center;
  margin-top: 1rem;
}
.lb-caption h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.lb-caption p { color: #aaa; font-size: 0.85rem; }
.lb-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
  line-height: 1;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.portfolio-item { cursor: pointer; }

/* === RESPONSIVE === */
/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* === MOBILE === */
@media (max-width: 768px) {

  /* Nav */
  .nav-inner { padding: 0 1.5rem; height: 68px; }
  .logo { font-size: 1.5rem; }
  .hamburger { display: flex; }
  #nav-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--beige-mid);
    z-index: 150;
  }
  #nav-menu.open { display: flex; }
  #nav-menu li { width: 100%; }
  #nav-menu a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    border-radius: 0;
  }
  #nav-menu .btn-nav {
    margin: 0.5rem 1.5rem 0;
    text-align: center;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
  }

  /* Sections */
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  /* Hero */
  #start { padding: 5rem 1.25rem 3rem; }
  .hero-welcome { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .hero-name { font-size: clamp(1rem, 5vw, 1.4rem); }
  .tagline { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; padding: 1rem 1.5rem; font-size: 1rem; }
  .hero-bg-globe { width: 220px; left: -60px; }
  .hero-bg-hobel { width: 240px; right: -60px; }
  .hero-bg-kfs   { width: 160px; }
  .overview-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; justify-items: center; }
  .ov-visual img, .ov-contact-icon { width: 90px; height: 90px; }
  .ov-title { font-size: 0.9rem; }
  .ov-sub   { font-size: 0.72rem; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { width: 180px; height: 230px; margin: 0 auto; }
  .about-text-col h2 { font-size: 1.8rem; }
  .about-tags { gap: 0.5rem; }

  /* KFS */
  .kfs-headline-row { flex-direction: column; gap: 0.5rem; }
  .kfs-logo-big { width: 60px; height: 60px; }
  .kfs-title { font-size: 2.2rem; }
  .kfs-team { grid-template-columns: 1fr; }
  .kfs-offers { grid-template-columns: 1fr; }
  .kfs-cta-banner { flex-direction: column; text-align: center; padding: 1.8rem 1.5rem; }
  .btn-kfs-big { width: 100%; justify-content: center; }
  .kfs-cta-headline { font-size: 1.5rem; }

  /* Tischler Karussell */
  .tischler-header h2 { font-size: 1.8rem; }
  .portfolio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-grid::-webkit-scrollbar { display: none; }
  .portfolio-item {
    flex: 0 0 80vw;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .portfolio-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--beige-dark);
    transition: background 0.2s;
  }
  .portfolio-dot.active { background: var(--brown-mid); }
  #portfolio-dots { display: flex; }

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

  /* Two-col */
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse .text-col { order: unset; }
  .two-col.reverse .img-col  { order: unset; }
}

/* === SMALL POLISH === */

/* Scroll offset for anchor nav (so nav doesn't cover section titles) */
section[id] { scroll-margin-top: 80px; }

/* Hero entrance animation */
.hero-welcome, .hero-name, .tagline, .hero-btns {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-name  { animation-delay: 0.15s; }
.tagline    { animation-delay: 0.3s;  }
.hero-btns  { animation-delay: 0.45s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
