:root {
  --accent: #e0a89a;
  --text: #111;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
}

/* General */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-white);
}

/* PAGE NAVIGATION */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu Button */
.page-nav .burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  order: 3;
}

.page-nav .burger span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.page-nav .burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.page-nav .burger.active span:nth-child(2) {
  opacity: 0;
}

.page-nav .burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu for page-nav */
.page-nav ~ .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 80px;
}

.page-nav ~ .mobile-menu.open {
  right: 0;
}

.page-nav ~ .mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-nav ~ .mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.page-nav ~ .mobile-menu nav a:hover {
  color: #ff0000;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.mobile-menu nav a:hover {
  color: #ff0000;
}

.nav-home {
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-home:hover {
  color: #ff0000;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff0000;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("photos/KasraPosing.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(0.95) brightness(0.9);
  z-index: 0;
  transition: filter 0.4s ease;
}

.hero__bg:hover {
  filter: grayscale(50%) contrast(1) brightness(1);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.4) 3px,
      transparent 3px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 3px, transparent 3px);
  background-size: calc(100% / 8) calc(100% / 4);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 1;
}

/* Hero Grid - 4 rows x 8 columns (for visual grid overlay) */
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  padding: 0;
  gap: 0;
}

/* Navigation Items */
.nav-item {
  display: flex;
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  text-align: center;
  width: 100%;
}

.nav-item a:hover {
  color: #ff0000;
}

/* Left Navigation - First square left side */
.nav-top-left {
  grid-column: 1 / 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-middle-left {
  grid-column: 1 / 2;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-left {
  grid-column: 1 / 2;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Hero Title "Kas" - Row 2, Column 4 */
.hero-title {
  grid-column: 4 / 5;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.title-big {
  font-size: clamp(30px, 6vw, 90px);
  font-weight: 800;
  color: #000;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* Vertical "rino" - Row 3, Column 5 */
.title-vertical-wrap {
  grid-column: 5 / 6;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.title-vertical {
  font-size: clamp(30px, 6vw, 100px);
  font-weight: 800;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #000;
  letter-spacing: -2px;
  line-height: 0.9;
  transform: translateY(-10px);
}

/* Bottom Navigation - Row 3 */
.nav-bottom-col2 {
  grid-column: 2 / 3;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-col3 {
  grid-column: 3 / 4;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-col4 {
  grid-column: 7 / 8;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Language Selector */
.lang {
  background: transparent;
  color: #fff;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.05em;
  padding: 0;
  text-align: center;
  transition: color 0.3s;
  cursor: pointer;
}

.lang:hover {
  color: #ff0000;
}

/* Bottom Navigation Bar (from 2.png) */
.bottom-nav-bar {
  position: relative;
  width: 100%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  z-index: 10;
}

.bottom-nav-left {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.bottom-nav-left:hover {
  color: #ff0000;
}

.bottom-nav-center {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.bottom-nav-center:hover {
  color: #ff0000;
}

.bottom-nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.circle-btn-nav {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.circle-btn-nav:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

/* Burger button - Updated for page-nav */
.page-nav .burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.page-nav .burger span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.page-nav .burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.page-nav .burger.active span:nth-child(2) {
  opacity: 0;
}

.page-nav .burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile menu - Updated for page-nav */
.page-nav ~ .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 80px;
}

.page-nav ~ .mobile-menu.open {
  right: 0;
}

.page-nav ~ .mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-nav ~ .mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.page-nav ~ .mobile-menu nav a:hover {
  color: #ff0000;
}

/* Old burger styles for hero section (keep for index.html) */
.burger {
  display: none;
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 4;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu for hero section */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu nav a {
  display: block;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  margin: 16px 0;
}

/* Bottom Bar */
.bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.92)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 3;
}

.bottom-left,
.bottom-center,
.bottom-right {
  font-size: 12px;
  color: #666;
}

.bottom-left {
  display: flex;
  gap: 40px;
}

.bottom-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(200, 120, 100, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
}

.circle-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* LOGO SECTION */
.logo-section {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  text-align: left;
  margin: 60px 0 60px 40px;
  padding: 0;
}

.logo-section span {
  display: block;
}

.logo-kasra-khani span {
  transform: translateX(50px);
}

/* MAIN CONTENT */
main {
  padding: 140px 20px 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* SECTIONS */
.section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-align: center;
}

.text-block {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.9;
  color: #111;
  margin: 0 auto;
  text-align: left;
}

.text-block strong {
  font-weight: 800;
}

.with-image {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px 0 0;
}

.section-image-text-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin-left: 0;
}

.section-title-top {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
  width: 100%;
  grid-column: 1 / -1;
}

.with-image .section-image {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.with-image .section-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  max-width: none;
}

.with-image .text-block {
  margin: 0;
  margin-bottom: 0;
}

.profile {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
  transition: 0.4s;
  cursor: pointer;
}

.profile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* TEXT BLOCK WITH PHOTO */
.text-block.with-photo {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  text-align: left;
  padding: 0 40px;
}

.text-block.with-photo.reverse {
  flex-direction: row-reverse;
}

.text-block.with-photo.reverse .text {
  text-align: right;
}

.text-block.with-photo .photo,
.text-block.with-photo .text {
  flex: 1;
}

.text-block.with-photo .photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: 0.4s ease;
  cursor: pointer;
}

.text-block.with-photo .photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.text-block.with-photo .text h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.text-block.with-photo.reverse .text h2 {
  text-align: right;
}

.text-block.with-photo .text p {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
}

/* WER IST KASRINO SECTION */
.wer-ist-kasrino-section {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto 80px 0;
  padding: 0 40px 0 40px;
  align-items: flex-start;
}

.wer-ist-photos {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-left: -40px;
  position: relative;
}

.wer-ist-photos-empty {
  flex: 0 0 320px;
  width: 320px;
  margin-right: 60px;
}

.wer-ist-photos img:first-child {
  margin-bottom: 60px;
}

.wer-ist-photos img:last-child {
  margin-top: 200px;
}

.wer-ist-photos img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: 0.4s ease;
  cursor: pointer;
}

.wer-ist-photos .profile {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
  transition: 0.4s;
  cursor: pointer;
  transform: translateY(-220px);
  align-self: flex-start;
}

.wer-ist-kasrino-section:has(.profile) {
  align-items: flex-start;
}

.wer-ist-kasrino-section:has(.profile) .wer-ist-photos {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.wer-ist-photos .profile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wer-ist-photos img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.wer-ist-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wer-ist-item {
  margin-bottom: 40px;
}

.wer-ist-item:last-child {
  margin-bottom: 0;
}

.wer-ist-item h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.wer-ist-item p {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
}

/* PROGRAMM SECTION */
.programm-section {
  background: transparent;
  padding: 80px 40px;
  margin: 80px 0;
  max-width: 100%;
}

.programm-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: left;
}

.show-item {
  display: flex;
  gap: 40px;
  margin-bottom: 100px;
  align-items: flex-start;
}

.show-item:last-child {
  margin-bottom: 0;
}

.show-number {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 1;
  color: #000;
  flex-shrink: 0;
}

.show-content {
  flex: 1;
}

.show-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.show-line {
  width: 2px;
  height: 60px;
  background: #000;
  margin-top: 10px;
}

.show-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.show-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-style: italic;
}

.show-description {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
  margin-bottom: 40px;
  max-width: 800px;
}

.show-image {
  margin-top: 40px;
}

.show-image-walk-around img {
  margin-left: 30px;
}

.show-image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* REFERENZEN SECTION */
.referenzen-section {
  padding: 80px 40px;
  margin: 80px -20px;
  max-width: calc(100% + 40px);
}

.google-reviews-button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.google-reviews-button {
  display: inline-block;
  padding: 15px 40px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
  border-radius: 0;
}

.google-reviews-button:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.referenzen-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: left;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 120px;
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.testimonial-card {
  background: #1a1a1a;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonial-company {
  font-size: 14px;
  color: #ccc;
}

.stars {
  color: #ffd700;
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.universities {
  display: flex;
  gap: 60px;
  margin-top: 30px;
  align-items: flex-start;
}

.university-item {
  text-align: left;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
}

.university-item h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 12px;
  color: #111;
}

.university-logo {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.university-logo img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.university-name {
  font-size: 14px;
  color: #111;
  line-height: 1.5;
  margin-top: 0;
}

/* GALLERIE SECTION */
.gallerie-section {
  background: #000;
  padding: 80px 40px;
  margin: 80px -20px;
  max-width: calc(100% + 40px);
}

.gallerie-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 48px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 60px;
  text-align: left;
}

.gallerie-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.gallerie-text {
  color: #fff;
}

.gallerie-quote {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: left;
}

.gallerie-quote-center {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
}

.gallerie-testimonial {
  margin-top: 40px;
}

.gallerie-testimonial p {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: #fff;
}

.gallerie-images {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallerie-images img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.gallerie-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

/* GALLERIE COLLAGE */
.gallerie-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 80px 0;
  padding: 0 20px;
}

.gallerie-collage img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.gallerie-collage img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* FOOTER */
.footer {
  background: var(--bg-light);
  padding: 60px 40px 40px;
  margin-top: 80px;
  margin-left: -20px;
  margin-right: -20px;
  max-width: calc(100% + 40px);
}

.footer-inquire {
  text-align: right;
  margin-bottom: 60px;
}

.inquire-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.inquire-link:hover {
  color: #ff0000;
}

.inquire-arrow {
  font-size: 36px;
  line-height: 1;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-left,
.footer-center,
.footer-right {
  color: #666;
}

.footer-left,
.footer-center {
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-left:hover,
.footer-center:hover {
  color: #ff0000;
}

/* IMPRESSUM SECTION */
.impressum-section {
  padding: 80px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.impressum-content {
  text-align: left;
}

.impressum-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 60px;
  color: #000;
}

.impressum-block {
  margin-bottom: 50px;
}

.impressum-block h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #000;
}

.impressum-block h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}

.impressum-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  margin-bottom: 15px;
}

/* KONTAKT SECTION */
.kontakt-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--bg-light);
}

.kontakt-content {
  text-align: right;
}

.kontakt-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.kontakt-arrow {
  font-size: 64px;
  line-height: 1;
}

.kontakt-info {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kontakt-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kontakt-link:hover {
  color: #ff0000;
}

.kontakt-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s, color 0.3s;
  display: inline-block;
}

.kontakt-link:hover::after {
  transform: translateX(5px);
  color: #ff0000;
}

.kontakt-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.kontakt-link:hover .kontakt-icon {
  transform: scale(1.1);
}

/* KONTAKT FORM */
.kontakt-form {
  max-width: 800px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: right;
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.kontakt-form label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  text-align: right;
}

.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #000;
  background: transparent;
  color: #000;
  outline: none;
  transition: border-color 0.3s;
  text-align: right;
}

.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  border-bottom-color: #ff0000;
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 120px;
}

.kontakt-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.form-submit-btn {
  grid-column: 1 / -1;
  justify-self: flex-end;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
  background: transparent;
  border: none;
  padding: 15px 0;
  cursor: pointer;
  transition: color 0.3s;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn:hover {
  color: #ff0000;
}

.form-submit-btn::after {
  content: "→";
  font-size: 32px;
  transition: transform 0.3s;
}

.form-submit-btn:hover::after {
  transform: translateX(5px);
}

/* RESPONSIVE */
/* Tablets and smaller desktops */
@media (max-width: 1200px) {
  .hero-grid {
    padding: 30px;
  }

  .nav-item a {
    font-size: 24px;
  }

  .lang {
    font-size: 24px;
  }

  .title-big {
    font-size: clamp(35px, 7vw, 100px);
  }

  .title-vertical {
    font-size: clamp(35px, 7vw, 100px);
  }

  /* About page responsive */
  .wer-ist-kasrino-section {
    padding: 0 30px;
    gap: 50px;
  }

  .logo-kasra-khani span {
    transform: translateX(30px);
  }

  .universities {
    gap: 30px;
  }

  .university-logo img {
    max-width: 150px;
    max-height: 70px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 20px;
    gap: 0;
  }

  .nav-item {
    display: none;
  }

  .burger {
    display: flex;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
  }

  .hero-title {
    grid-column: 2 / 4;
    grid-row: 2;
    margin: 0;
  }

  .title-vertical-wrap {
    grid-column: 4;
    grid-row: 3;
    margin: 0;
  }

  .title-vertical {
    transform: translateY(-5px);
  }

  .nav-bottom-col4 {
    grid-column: 4;
    grid-row: 4;
    justify-content: center;
  }

  .title-big {
    font-size: clamp(32px, 10vw, 80px);
  }

  .title-vertical {
    font-size: clamp(32px, 10vw, 80px);
  }

  .bottom-nav-bar {
    padding: 15px 30px;
  }

  .circle-btn-nav {
    width: 55px;
    height: 55px;
    font-size: 11px;
  }

  .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4);
  }

  .logo-section {
    font-size: 56px;
    margin-left: 20px;
  }

  main {
    padding: 36px 20px;
  }

  .section {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 60px;
  }


  .with-image {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 60px auto;
    padding: 0 20px;
  }

  .section-image-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .with-image .section-image {
    width: 100%;
    display: flex;
    justify-content: center;
    flex: 1;
    order: 1;
  }

  .with-image .section-content {
    width: 100%;
    flex: 1;
    order: 2;
  }

  .section-title-top {
    order: 1;
    text-align: center;
    margin-bottom: 20px;
    grid-column: 1;
  }

  .profile {
    max-width: 280px;
    margin: 0 auto;
  }

  .text-block.with-photo,
  .text-block.with-photo.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .text-block.with-photo .photo img {
    max-width: 80%;
    margin: 0 auto;
  }

  .wer-ist-kasrino-section {
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    margin: 60px auto;
    display: flex;
  }

  .wer-ist-photos {
    flex: 1;
    width: 100%;
    max-width: 100%;
    display: contents;
    margin-left: 0;
  }

  .wer-ist-photos img {
    max-width: 100%;
    margin: 30px auto;
    display: block;
  }

  .wer-ist-photos img:first-child {
    margin-bottom: 30px;
  }

  .wer-ist-photos img:last-child {
    margin-top: 30px;
  }

  .wer-ist-photos .profile {
    max-width: 100%;
    margin: 30px auto;
    transform: translateY(0px);
  }

  .wer-ist-photos-empty {
    display: none;
  }

  .logo-kasra-khani span {
    transform: translateX(0px);
  }

  .universities {
    flex-direction: column;
    gap: 30px;
  }

  .university-item {
    width: 100%;
  }

  .university-logo img {
    max-width: 150px;
    max-height: 70px;
  }

  .wer-ist-text {
    width: 100%;
    display: contents;
  }

  /* Mobile: Reorder to show 2 texts, then photo, then 2 texts, then photo, then last text */
  .wer-ist-item.item-1 {
    order: 1;
  }

  .wer-ist-item.item-2 {
    order: 2;
  }

  .wer-ist-photo-1 {
    order: 3;
  }

  .wer-ist-item.item-3 {
    order: 4;
  }

  .wer-ist-item.item-4 {
    order: 5;
  }

  .wer-ist-photo-2 {
    order: 6;
  }

  .wer-ist-item.item-5 {
    order: 7;
  }

  .wer-ist-item {
    margin-bottom: 30px;
    order: 0;
  }

  .wer-ist-item h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .wer-ist-item p {
    font-size: 16px;
    line-height: 1.8;
  }

  .programm-section {
    padding: 60px 20px;
    margin: 60px 0;
  }

  .show-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }

  .show-number {
    font-size: 60px;
    text-align: center;
  }

  .show-content {
    width: 100%;
  }

  .show-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .show-line {
    display: none;
  }

  .show-title {
    font-size: 24px;
  }

  .show-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .show-image {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .show-image img {
    max-width: 100%;
  }

  .referenzen-section {
    padding: 60px 20px;
    margin: 60px 0;
    max-width: 100%;
  }

  .clients-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }

  .logo-item {
    min-height: 100px;
    padding: 15px;
  }

  .logo-item img {
    max-height: 60px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .universities {
    flex-direction: column;
    gap: 20px;
  }

  .university-item {
    width: 100%;
    text-align: center;
  }

  .university-logo {
    justify-content: center;
  }

  .university-logo img {
    max-width: 120px;
    max-height: 60px;
  }

  .gallerie-section {
    padding: 60px 20px;
    margin: 60px 0;
  }

  .gallerie-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallerie-quote {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .gallerie-quote-center {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .gallerie-testimonial p {
    font-size: 16px;
    line-height: 1.7;
  }

  .gallerie-images {
    gap: 0;
  }

  .gallerie-images img {
    width: 100%;
  }

  .gallerie-section {
    padding: 60px 20px;
    margin: 60px 0;
    max-width: 100%;
  }

  .gallerie-content {
    grid-template-columns: 1fr;
  }

  .gallerie-collage {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px 30px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .footer-inquire {
    text-align: center;
  }

  .page-nav {
    padding: 15px 20px;
    justify-content: flex-end;
    position: relative;
  }

  .page-nav .nav-home {
    display: none;
  }

  .page-nav .nav-links {
    display: none;
  }

  .page-nav .burger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo-section {
    font-size: 48px;
    margin-left: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .logo-kasra-khani span {
    transform: translateX(0px);
  }

  .impressum-section {
    padding: 60px 20px;
  }

  .impressum-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .impressum-block {
    margin-bottom: 40px;
  }

  .impressum-block h2 {
    font-size: 20px;
  }

  .impressum-block h3 {
    font-size: 16px;
  }

  .impressum-block p {
    font-size: 15px;
  }

  .kontakt-section {
    min-height: 40vh;
    padding: 60px 20px;
  }

  .kontakt-title {
    font-size: 36px;
  }

  .kontakt-arrow {
    font-size: 48px;
  }

  .kontakt-form {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }

  .form-group-full {
    grid-column: 1;
  }

  .form-submit-btn {
    grid-column: 1;
    justify-self: flex-end;
  }

  .kontakt-form label,
  .kontakt-form input,
  .kontakt-form select,
  .kontakt-form textarea {
    text-align: right;
  }

  .kontakt-info {
    gap: 20px;
    margin-bottom: 30px;
  }

  .kontakt-link {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 15px;
  }

  .hero-title {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .title-vertical-wrap {
    grid-column: 4;
    grid-row: 3;
  }

  .title-big {
    font-size: clamp(28px, 8vw, 60px);
  }

  .title-vertical {
    font-size: clamp(28px, 8vw, 60px);
    transform: translateY(-5px);
  }

  .nav-bottom-col4 {
    grid-column: 4;
    grid-row: 4;
  }

  .bottom-nav-bar {
    padding: 12px 20px;
  }

  .lang {
    font-size: 12px;
    padding: 0;
  }

  .bottom-nav-bar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .bottom-nav-center {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    order: 3;
  }

  .bottom-nav-left {
    order: 1;
  }

  .bottom-nav-right {
    order: 2;
  }

  .circle-btn-nav {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }

  .bottom-bar {
    height: 84px;
    padding: 0 16px;
    flex-direction: column;
    gap: 10px;
  }

  .circle-btn {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .logo-section {
    font-size: 42px;
    margin-left: 16px;
  }

  .section h2,
  .text-block.with-photo .text h2 {
    font-size: 28px;
  }

  .text-block {
    font-size: 16px;
  }

  .programm-title,
  .referenzen-title,
  .gallerie-title {
    font-size: 36px;
  }

  .show-number {
    font-size: 60px;
  }

  .show-title {
    font-size: 24px;
  }

  .show-description {
    font-size: 16px;
  }

  .clients-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .logo-item {
    min-height: 80px;
    padding: 12px;
  }

  .logo-item img {
    max-height: 50px;
  }

  .section h2,
  .wer-ist-item h2 {
    font-size: 24px;
  }

  .programm-title,
  .referenzen-title,
  .gallerie-title {
    font-size: 32px;
  }

  .show-number {
    font-size: 48px;
  }

  .show-title {
    font-size: 20px;
  }

  .show-description {
    font-size: 15px;
  }

  .inquire-link {
    font-size: 24px;
  }

  .inquire-arrow {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 10px;
  }

  .hero-title {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .title-vertical-wrap {
    grid-column: 1 / 5;
    grid-row: 3;
    justify-content: center;
  }

  .title-big {
    font-size: clamp(24px, 7vw, 50px);
  }

  .title-vertical {
    font-size: clamp(24px, 7vw, 50px);
    transform: translateY(0px);
  }

  .bottom-nav-bar {
    padding: 10px 15px;
    flex-direction: column;
    gap: 10px;
  }

  .bottom-nav-left,
  .bottom-nav-center,
  .bottom-nav-right {
    width: 100%;
    text-align: center;
  }

  .bottom-nav-center {
    order: 2;
    margin: 5px 0;
  }

  .bottom-nav-left {
    order: 1;
  }

  .bottom-nav-right {
    order: 3;
    justify-content: center;
  }

  .circle-btn-nav {
    width: 45px;
    height: 45px;
    font-size: 9px;
  }

  .nav-bottom-col4 {
    grid-column: 1 / 5;
    grid-row: 4;
    justify-content: center;
  }

  .lang {
    font-size: 10px;
    padding: 0;
  }

  .bottom-bar {
    height: 72px;
    padding: 0 10px;
  }

  .burger {
    top: 15px;
    left: 15px;
    width: 28px;
    height: 20px;
  }

  .burger span {
    height: 3px;
  }

  /* About page - small devices */
  .logo-section {
    font-size: 36px;
    margin-left: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .logo-kasra-khani span {
    transform: translateX(0px);
  }

  .wer-ist-kasrino-section {
    padding: 0 15px;
    margin: 40px auto;
  }

  .wer-ist-item h2 {
    font-size: 24px;
  }

  .wer-ist-item p {
    font-size: 14px;
  }

  .universities {
    gap: 15px;
  }

  .university-logo img {
    max-width: 100px;
    max-height: 50px;
  }

  .programm-section {
    padding: 40px 15px;
  }

  .show-number {
    font-size: 40px;
  }

  .show-title {
    font-size: 18px;
  }

  .referenzen-section {
    padding: 40px 15px;
  }

  .clients-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallerie-section {
    padding: 40px 15px;
  }
}

/* Very small devices (320px and below) */
@media (max-width: 320px) {
  .hero-grid {
    padding: 8px;
  }

  .title-big {
    font-size: clamp(20px, 6vw, 40px);
  }

  .title-vertical {
    font-size: clamp(20px, 6vw, 40px);
    transform: translateY(0px);
  }

  .bottom-nav-bar {
    padding: 8px 10px;
  }

  .circle-btn-nav {
    width: 40px;
    height: 40px;
    font-size: 8px;
  }

  .lang {
    font-size: 9px;
    padding: 0;
  }

  .burger {
    top: 10px;
    left: 10px;
    width: 24px;
    height: 18px;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 992px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero-grid {
    padding: 15px;
  }

  .title-big {
    font-size: clamp(30px, 8vw, 70px);
  }

  .title-vertical {
    font-size: clamp(30px, 8vw, 70px);
  }

  /* About page landscape */
  .wer-ist-kasrino-section {
    flex-direction: row;
    gap: 30px;
  }

  .wer-ist-photos {
    flex: 0 0 200px;
  }

  .logo-section {
    font-size: 42px;
  }
}
