/* ========================================
   Zahnarzt Julian Mamina — Main Stylesheet
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-primary-dark: #d63300;
  --color-primary: #ff3b00;
  --color-primary-light: #ff5c2a;
  --color-accent-gold: #ffffff;
  --color-accent-gold-hover: #e8e8e8;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-text-dark: #333333;
  --color-text-muted: #666666;
  --color-border: #e0e0e0;

  --font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 80px;
  --spacing-4xl: 96px;

  --max-width: 1200px;
  --header-height: 72px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-dark);
  line-height: 1.7;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--spacing-sm);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section--gray {
  background-color: var(--color-light-gray);
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-top: var(--spacing-xs);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 0, 0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.cta-banner .btn--primary,
.hero .btn--primary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.cta-banner .btn--primary:hover,
.hero .btn--primary:hover {
  background-color: #e8e8e8;
  border-color: #e8e8e8;
  color: var(--color-primary-dark);
}

.cta-banner .btn--outline,
.hero .btn--outline,
.footer .btn--outline {
  color: var(--color-white);
  border-color: var(--color-white);
}

.cta-banner .btn--outline:hover,
.hero .btn--outline:hover,
.footer .btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
}

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

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

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-primary-dark);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.header__logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
}

.header__logo-text {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) 0;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition);
}

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

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--spacing-xs);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-xs);
  z-index: 1001;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
}

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

.nav-toggle--active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(214, 51, 0, 0.92) 0%,
    rgba(255, 59, 0, 0.85) 50%,
    rgba(214, 51, 0, 0.9) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--spacing-xl) var(--spacing-sm);
}

.hero__title {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-bold);
}

.hero__title span {
  color: var(--color-accent-gold);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-light);
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__badge {
  margin-top: var(--spacing-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-accent-gold);
  font-size: 0.95rem;
}

.hero__badge .stars {
  letter-spacing: 2px;
}

/* --- Info Bar --- */
.info-bar {
  background-color: var(--color-white);
  padding: var(--spacing-xl) 0;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}

.info-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  text-align: center;
  transition: all var(--transition);
}

.info-card:hover {
  border-color: var(--color-accent-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.info-card__icon {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-accent-gold);
}

.info-card__title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.info-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.info-card__text a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

/* --- About Section --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content h2 {
  margin-bottom: var(--spacing-sm);
}

.about__content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.about__feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.3rem;
}

.about__feature-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.about__feature-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Services Section --- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card__image {
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__content {
  padding: var(--spacing-md);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-xs);
}

.service-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.service-card__link {
  color: var(--color-accent-gold);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card__link:hover {
  color: var(--color-accent-gold-hover);
}

/* --- Reviews Section --- */
.reviews {
  overflow: hidden;
}

.reviews__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.1rem;
  color: #f5a623;
  margin-top: var(--spacing-xs);
}

.reviews__rating .stars {
  letter-spacing: 2px;
}

.reviews__rating-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.reviews__carousel {
  position: relative;
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: var(--spacing-md);
  transition: transform 0.5s ease;
}

.review-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.review-card__stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xs);
}

.review-card__text {
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
  font-style: italic;
}

.review-card__author {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

.review-card__date {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.reviews__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  transition: all var(--transition);
}

.reviews__nav-btn:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: background-color var(--transition);
  cursor: pointer;
}

.reviews__dot--active {
  background-color: var(--color-primary);
}

/* --- Portfolio Teaser --- */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.portfolio-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: flex-end;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(214, 51, 0, 0.9));
}

.portfolio-card__title {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.portfolio-card__link {
  color: var(--color-accent-gold);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
}

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

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--color-primary);
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.cta-banner .btn {
  margin: 0 var(--spacing-xs);
}

/* --- Map Section --- */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 350px;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--spacing-sm);
  color: var(--color-text-muted);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer__col h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-sm);
}

.footer__col p,
.footer__col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer__col a:hover {
  color: var(--color-accent-gold);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.footer__bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links a:hover {
  color: var(--color-accent-gold);
}

/* --- Service Detail Page (alternating sections) --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.service-detail__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-detail__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail__content h2 {
  margin-bottom: var(--spacing-sm);
}

.service-detail__content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background-color: var(--color-primary-dark);
  padding: calc(var(--header-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* --- Contact Page --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 59, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.contact-info__text h4 {
  margin-bottom: 2px;
}

.contact-info__text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Forms --- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__label {
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-dark);
}

.form__input,
.form__select,
.form__textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background-color: var(--color-white);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(255, 59, 0, 0.1);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: #f0faf0;
  border: 2px solid #2e7d32;
  border-radius: var(--border-radius-lg);
}

.form-success--visible {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-sm);
  background-color: #2e7d32;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
}

.form-success h3 {
  color: #2e7d32;
  margin-bottom: var(--spacing-xs);
}

.form-success p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

/* --- Gallery / Portfolio --- */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.gallery__item {
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.lightbox--active {
  display: flex;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--border-radius);
}

.lightbox__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 44px;
  height: 44px;
  color: var(--color-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Team --- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.team-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.team-card__image {
  height: 320px;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card__content {
  padding: var(--spacing-md);
}

.team-card__name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card__role {
  color: var(--color-accent-gold);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.legal-content p {
  color: var(--color-text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-content li {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xs);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--spacing-md);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  text-align: center;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner p a {
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: var(--spacing-xs);
}

.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition);
}

.cookie-banner__btn--accept {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
}

.cookie-banner__btn--accept:hover {
  background-color: var(--color-accent-gold-hover);
}

.cookie-banner__btn--decline {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* --- Tellet Voice Widget --- */
.tellet-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 100px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(38, 38, 38, 0.16);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Roboto', sans-serif;
}

.tellet-bubble:hover {
  transform: scale(1.08);
  background: var(--color-primary-dark);
  box-shadow: 0 12px 40px rgba(255, 59, 0, 0.3);
}

.tellet-bubble svg { width: 30px; height: 30px; fill: white; }
.tellet-bubble.open .icon-default { display: none; }
.tellet-bubble.open .icon-close { display: block; }
.tellet-bubble:not(.open) .icon-default { display: block; }
.tellet-bubble:not(.open) .icon-close { display: none; }

.tellet-bubble::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  background: rgba(255, 59, 0, 0.25);
  animation: tellet-pulse 2.5s ease-out infinite;
}

.tellet-bubble.open::before { animation: none; opacity: 0; }

@keyframes tellet-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.tellet-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9998;
  width: 400px;
  height: 620px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 32px rgba(38, 38, 38, 0.16);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
}

.tellet-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tellet-header {
  background: #262626;
  padding: 16px 20px;
  border-bottom: 1px solid #313131;
  flex-shrink: 0;
}

.tellet-header-top { display: flex; align-items: center; gap: 12px; }

.tellet-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.tellet-header-info { flex: 1; }
.tellet-header-title { font-size: 14px; font-weight: 600; color: var(--color-white); font-family: 'Montserrat', sans-serif; }

.tellet-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}

.tellet-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  transition: background 0.3s;
}

.tellet-status-dot.online {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.tellet-start-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
  background: #f7f7f7;
}

.tellet-start-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(255, 59, 0, 0.25);
}

.tellet-start-icon svg { width: 40px; height: 40px; fill: white; }

.tellet-start-screen h2 {
  color: var(--color-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.tellet-start-screen p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 280px;
}

.tellet-mic-notice {
  background: rgba(255, 59, 0, 0.08);
  border: 1px solid rgba(255, 59, 0, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 20px;
  max-width: 300px;
}

.tellet-mic-notice p {
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.tellet-mic-notice strong { color: var(--color-primary); font-weight: 600; }

.tellet-start-btn {
  padding: 14px 40px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 59, 0, 0.25);
}

.tellet-start-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 59, 0, 0.35);
}

.tellet-start-btn:active { transform: translateY(0); }

.tellet-voice-view {
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
}

.tellet-voice-view.active { display: flex; }

.tellet-voice-transcript {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f7f7f7;
  min-height: 0;
}

.tellet-voice-transcript::-webkit-scrollbar { width: 6px; }
.tellet-voice-transcript::-webkit-scrollbar-track { background: #f7f7f7; }
.tellet-voice-transcript::-webkit-scrollbar-thumb { background: #ccc; border-radius: 6px; }
.tellet-voice-transcript::-webkit-scrollbar-thumb:hover { background: #999; }

.tellet-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: tellet-msgFade 0.2s ease;
}

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

.tellet-message.user {
  background: var(--color-primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.tellet-message.assistant {
  background: white;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(38, 38, 38, 0.08);
}

.tellet-message.system {
  background: rgba(255, 59, 0, 0.08);
  color: var(--color-primary);
  align-self: center;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
}

.tellet-message.error {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  align-self: center;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
}

.tellet-voice-controls {
  padding: 24px;
  background: var(--color-white);
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.tellet-visualiser {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.tellet-visualiser .bar {
  width: 4px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: height 0.1s;
}

.tellet-visualiser.active .bar { animation: tellet-barPulse 0.8s infinite ease-in-out; }
.tellet-visualiser.active .bar:nth-child(1) { animation-delay: 0s; }
.tellet-visualiser.active .bar:nth-child(2) { animation-delay: 0.1s; }
.tellet-visualiser.active .bar:nth-child(3) { animation-delay: 0.2s; }
.tellet-visualiser.active .bar:nth-child(4) { animation-delay: 0.3s; }
.tellet-visualiser.active .bar:nth-child(5) { animation-delay: 0.4s; }
.tellet-visualiser.active .bar:nth-child(6) { animation-delay: 0.5s; }
.tellet-visualiser.active .bar:nth-child(7) { animation-delay: 0.6s; }

@keyframes tellet-barPulse {
  0%, 100% { height: 10px; }
  50% { height: 32px; }
}

.tellet-voice-status { font-size: 13px; color: var(--color-text-light); font-weight: 500; }

.tellet-voice-buttons { display: flex; align-items: center; gap: 18px; }

.tellet-mic-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tellet-mic-btn.connect {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 59, 0, 0.3);
}

.tellet-mic-btn.connect:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(255, 59, 0, 0.4);
}

.tellet-mic-btn.muted { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

.tellet-mic-btn.unmuted {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 59, 0, 0.3);
}

.tellet-mic-btn svg { width: 28px; height: 28px; }

.tellet-end-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #dc2626;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tellet-end-btn:hover { background: #b91c1c; transform: scale(1.05); }
.tellet-end-btn svg { width: 24px; height: 24px; }

.tellet-footer {
  padding: 10px 20px;
  text-align: center;
  background: #f7f7f7;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.tellet-footer a {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.tellet-footer a:hover { color: var(--color-primary); }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--color-accent-gold); }
.mb-0 { margin-bottom: 0; }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
