:root {
  --color-primary: #1e5fa8;
  --color-primary-hover: #155a96;
  --color-primary-active: #0f4778;
  --color-bg: #f4f7fb;
  --color-card: #ffffff;
  --color-border: #d9e2ec;
  --color-text: #1f2d3d;
  --color-muted: #5c6b7a;
  --color-accent: #1f8a89;
  --shadow-soft: 0 16px 40px rgba(31, 45, 61, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(30, 95, 168, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  text-rendering: optimizeLegibility;
  line-height: 1.65;
}

.site-content {
  padding-bottom: 76px;
}

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

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(217, 226, 236, 0.8);
}

.section--cta {
  padding-top: 24px;
}

.hero.section {
  padding-top: 60px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30, 95, 168, 0.12);
  color: var(--color-primary-active);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-muted);
}

p {
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
}

.site-header__bar {
  background: rgba(30, 95, 168, 0.06);
  border-bottom: 1px solid rgba(217, 226, 236, 0.65);
}

.site-header__bar-inner,
.site-header__nav-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header__brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-header__brand {
  margin: 0;
  font-weight: 800;
}

.site-header__brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-header__brand-mark {
  display: block;
  width: clamp(120px, 12vw, 150px);
  max-width: 100%;
  max-height: 56px;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

.site-header__brand-text {
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.15;
}

.site-header__brand-copy {
  display: grid;
  gap: 1px;
}

.site-header__brand a {
  min-width: 0;
}

.site-header__brand-mark {
  width: clamp(120px, 12vw, 150px);
  height: auto;
}

.site-header__brand-text {
  font-weight: 700;
}

.site-header__brand-meta,
.site-header__bar-note {
  font-weight: 400;
}

.site-header__brand-meta,
.site-header__bar-note {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.site-header__bar-note {
  margin: 0;
  max-width: 32ch;
}

.site-header__contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.site-header__nav-wrap {
  border-top: 1px solid transparent;
}

.site-header__nav-inner {
  position: relative;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: 999px;
  padding: 11px 14px;
}

.menu-toggle__lines {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle__lines::before {
  top: -6px;
}

.menu-toggle__lines::after {
  top: 6px;
}

.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.primary-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--color-text);
  font-weight: 600;
}

.primary-nav li.is-current a,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(30, 95, 168, 0.1);
  color: var(--color-primary-active);
}

.header-cta {
  display: none;
}

.hero__grid,
.content-grid,
.site-footer__grid,
.cta-panel {
  display: grid;
  gap: 28px;
}

.hero__grid {
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 4px;
}

.hero__visual {
  order: 0;
}

.hero h1,
.content-page h1,
.section-heading h2,
.content-card h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.hero__note {
  margin: 8px 0 0;
  padding-left: 16px;
  border-left: 3px solid rgba(31, 138, 137, 0.45);
  color: var(--color-text);
  line-height: 1.7;
}

.hero__visual {
  background:
    radial-gradient(circle at top right, rgba(31, 138, 137, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(30, 95, 168, 0.08), rgba(31, 138, 137, 0.1));
  border: 1px solid rgba(217, 226, 236, 0.85);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.hero__visual img {
  filter: contrast(1.03) saturate(1.02);
}

.hero--home .hero__grid {
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.hero--home .hero__copy {
  align-self: center;
  padding-block: 8px;
}

.hero--home .hero__copy h1 {
  max-width: 11.2ch;
  letter-spacing: -0.025em;
}

.hero--home .hero__visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: clamp(20px, 2.5vw, var(--radius-lg));
  border: 1px solid rgba(217, 226, 236, 0.95);
  background:
    radial-gradient(circle at top right, rgba(31, 138, 137, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(30, 95, 168, 0.09), rgba(244, 247, 251, 0.2));
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.hero--home .hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.38) 0%, rgba(244, 247, 251, 0.08) 36%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, rgba(31, 45, 61, 0.02) 0%, rgba(31, 45, 61, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero--home .hero__media,
.hero--home .hero__media img {
  width: 100%;
  height: 100%;
}

.hero--home .hero__media {
  display: block;
}

.hero--home .hero__media img {
  position: relative;
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.02) contrast(1.04);
}

.theme-page--hizmetlerimiz .hero__visual,
.theme-page--almanya-vize-danismanligi .hero__visual,
.theme-page--almanya-calisma-vizesi .hero__visual,
.theme-page--almanya-oturum-izni .hero__visual,
.theme-page--almanca-dil-egitimi .hero__visual,
.theme-page--tercumanlik-belge-hazirligi .hero__visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.theme-page--hizmetlerimiz .theme-page-hero__picture,
.theme-page--hizmetlerimiz .theme-page-hero__picture img,
.theme-page--almanya-vize-danismanligi .theme-page-hero__picture,
.theme-page--almanya-vize-danismanligi .theme-page-hero__picture img,
.theme-page--almanya-calisma-vizesi .theme-page-hero__picture,
.theme-page--almanya-calisma-vizesi .theme-page-hero__picture img,
.theme-page--almanya-oturum-izni .theme-page-hero__picture,
.theme-page--almanya-oturum-izni .theme-page-hero__picture img,
.theme-page--almanca-dil-egitimi .theme-page-hero__picture,
.theme-page--almanca-dil-egitimi .theme-page-hero__picture img,
.theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture,
.theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.theme-page--hizmetlerimiz .theme-page-hero__picture img,
.theme-page--almanya-vize-danismanligi .theme-page-hero__picture img,
.theme-page--almanya-calisma-vizesi .theme-page-hero__picture img,
.theme-page--almanya-oturum-izni .theme-page-hero__picture img,
.theme-page--almanca-dil-egitimi .theme-page-hero__picture img,
.theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture img {
  object-fit: cover;
  object-position: center;
}

.theme-page--almanya-oturum-izni .hero__visual,
.theme-page--almanca-dil-egitimi .hero__visual,
.theme-page--tercumanlik-belge-hazirligi .hero__visual {
  align-self: center;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
}

.theme-page--almanya-oturum-izni .theme-page-hero__picture,
.theme-page--almanca-dil-egitimi .theme-page-hero__picture,
.theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 1672 / 941;
}

.hero__actions,
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__trust li {
  padding: 8px 11px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-strip {
  display: grid;
  gap: 16px;
}

.hero-strip__item {
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero-strip__label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary-active);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-strip__item a,
.hero-strip__item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

.quick-contact-card {
  display: grid;
  gap: 20px;
  padding: 22px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.quick-contact-card__copy {
  display: grid;
  gap: 10px;
}

.quick-contact-card__copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-text);
}

.quick-contact-card__details {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 12px;
}

.quick-contact-card__details li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 16px;
  background: rgba(244, 247, 251, 0.7);
}

.quick-contact-card__label {
  color: var(--color-primary-active);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.quick-contact-card__details a,
.quick-contact-card__details p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.55;
  font-weight: 500;
}

.quick-contact-card__details a {
  text-decoration: underline;
  text-decoration-color: rgba(30, 95, 168, 0.24);
  text-underline-offset: 2px;
}

.quick-contact-card__actions {
  display: grid;
  gap: 10px;
}

.quick-contact-card__actions .button {
  width: 100%;
  min-height: 44px;
}

.quick-contact-card__details {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 12px;
}

.quick-contact-card__details li {
  padding: 14px 16px;
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 16px;
  background: rgba(244, 247, 251, 0.65);
}

.quick-contact-card__label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-primary-active);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.quick-contact-card__details a,
.quick-contact-card__details p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 500;
}

.quick-contact-card__details a {
  text-decoration: underline;
  text-decoration-color: rgba(30, 95, 168, 0.22);
  text-underline-offset: 2px;
}

.quick-contact-card__actions {
  display: grid;
  gap: 10px;
}

.quick-contact-card__actions .button {
  width: 100%;
  min-height: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-primary);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-primary-hover);
  color: #fff;
}

.button--secondary {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(30, 95, 168, 0.35);
  color: var(--color-primary-active);
}

.hero h1,
.content-page h1,
.section-heading h2,
.content-card h2,
.cta-panel h2 {
  font-weight: 800;
}

.card h3,
.service-card h3,
.timeline__item h3 {
  font-weight: 700;
}

.service-card p,
.card p,
.timeline__item p,
.content-card p {
  font-weight: 400;
}

.primary-nav a {
  line-height: 1.35;
}

.site-header__contact {
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--color-muted);
  line-height: 1.75;
}

.cards,
.service-grid,
.timeline,
.faq {
  display: grid;
  gap: 16px;
}

.card,
.service-card,
.content-card,
.cta-panel,
.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(31, 45, 61, 0.02);
}

.card,
.service-card,
.content-card {
  padding: 24px;
}

.cards--two {
  grid-template-columns: 1fr;
}

.cards--who .card {
  position: relative;
  overflow: hidden;
}

.cards--who .card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.card--link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  font-weight: 700;
}

.service-card img {
  width: 112px;
  margin-bottom: 16px;
}

.service-card a {
  text-decoration: underline;
  text-decoration-color: rgba(30, 95, 168, 0.25);
  text-underline-offset: 2px;
}

.service-card h3,
.card h3,
.timeline__item h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.service-card p,
.card p,
.timeline__item p,
.content-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.service-grid {
  grid-template-columns: 1fr;
}

.timeline__item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.timeline__index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(30, 95, 168, 0.1);
  color: var(--color-primary-active);
  font-weight: 800;
  margin-bottom: 14px;
}

.legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--color-accent);
  background: rgba(31, 138, 112, 0.06);
  border-radius: 0 14px 14px 0;
}

.legal-note p {
  margin: 0;
  color: var(--color-text);
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-primary);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item__body {
  padding: 0 20px 20px;
}

.faq-item__body p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.cta-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(30, 95, 168, 0.08), rgba(31, 138, 137, 0.08)),
    var(--color-card);
}

.content-page {
  max-width: 860px;
}

.content-page__body {
  display: grid;
  gap: 20px;
}

.site-footer {
  padding: 40px 0 24px;
  margin-top: 56px;
  background: #11263d;
  color: #e9f0f7;
}

.site-footer a {
  color: inherit;
  font-weight: 500;
}

.site-footer__grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.site-footer__title,
.site-footer__heading {
  margin: 0 0 16px;
  font-weight: 800;
}

.site-footer__brand-kicker {
  margin: -8px 0 10px;
  color: rgba(233, 240, 247, 0.82);
  font-weight: 700;
}

.site-footer__logo {
  display: block;
  width: clamp(220px, 18vw, 260px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 16px 18px;
  margin: 0 0 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(217, 226, 236, 0.95);
  box-shadow: 0 14px 32px rgba(17, 38, 61, 0.14);
}

.site-footer__brand p {
  line-height: 1.75;
  color: rgba(233, 240, 247, 0.9);
  font-weight: 400;
}

.site-footer__heading {
  margin-bottom: 12px;
}

.site-footer__links,
.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.site-footer__legal {
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid rgba(233, 240, 247, 0.14);
  color: rgba(233, 240, 247, 0.8);
  line-height: 1.55;
  font-weight: 400;
}

.site-footer__title {
  line-height: 1.15;
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.site-footer .button--secondary {
  background: transparent;
  border-color: rgba(233, 240, 247, 0.18);
  color: #e9f0f7;
}

.site-footer .button--secondary:hover,
.site-footer .button--secondary:focus-visible {
  border-color: rgba(233, 240, 247, 0.36);
  color: #ffffff;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform var(--transition);
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(30, 95, 168, 0.35);
  outline-offset: 3px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.content-card--accent {
  background: linear-gradient(180deg, rgba(30, 95, 168, 0.06), rgba(31, 138, 112, 0.06));
}

.content-grid .content-card:last-child {
  align-self: start;
}

.site-header__contact-link {
  white-space: nowrap;
}

.site-header__contact-link--accent {
  color: var(--color-primary-active);
  font-weight: 700;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(217, 226, 236, 0.9);
}

.mobile-cta__item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 14px;
  font-weight: 800;
}

.mobile-cta__item--whatsapp {
  background: rgba(31, 138, 137, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(31, 138, 137, 0.26);
}

.mobile-cta__item--primary {
  background: var(--color-primary);
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  left: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  z-index: 130;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background: #1fbd5a;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.floating-whatsapp:active {
  transform: translateY(0);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(30, 95, 168, 0.45);
  outline-offset: 4px;
}

@media (max-width: 1199px) {
  .floating-whatsapp {
    left: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp svg {
    width: 29px;
    height: 29px;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 88px 0;
  }

  .hero__grid,
  .content-grid,
  .site-footer__grid,
  .cta-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    order: 0;
  }

  .hero--home .hero__visual {
    min-height: 0;
    max-height: none;
  }

  .service-grid,
  .cards--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .hero-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-contact-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 24px;
    padding: 28px;
  }

  .quick-contact-card__actions {
    align-content: start;
  }

  .quick-contact-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 24px;
    padding: 28px;
  }

  .quick-contact-card__actions {
    justify-items: stretch;
  }

  .quick-contact-card__actions .button {
    width: 100%;
  }

  .site-header__brand-mark {
    width: clamp(120px, 12vw, 150px);
    max-height: 56px;
    height: auto;
  }

  .site-header__brand-text {
    font-size: 1.05rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero--home .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero--home .hero__copy h1 {
    max-width: 12.6ch;
    font-size: clamp(2.35rem, 4.2vw, 3.15rem);
    line-height: 1.06;
  }

  .hero--home .hero__visual {
    aspect-ratio: 16 / 9;
  }

  .hero--home .hero__media img {
    object-position: center center;
  }

  .theme-page--hizmetlerimiz .hero__grid,
  .theme-page--almanya-vize-danismanligi .hero__grid,
  .theme-page--almanya-calisma-vizesi .hero__grid,
  .theme-page--almanya-oturum-izni .hero__grid,
  .theme-page--almanca-dil-egitimi .hero__grid,
  .theme-page--tercumanlik-belge-hazirligi .hero__grid {
    grid-template-columns: 1fr;
  }

  .theme-page--hizmetlerimiz .hero__visual,
  .theme-page--almanya-vize-danismanligi .hero__visual,
  .theme-page--almanya-calisma-vizesi .hero__visual,
  .theme-page--almanya-oturum-izni .hero__visual,
  .theme-page--almanca-dil-egitimi .hero__visual,
  .theme-page--tercumanlik-belge-hazirligi .hero__visual {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1024px) {
  .theme-page--hizmetlerimiz .hero__grid,
  .theme-page--almanya-vize-danismanligi .hero__grid,
  .theme-page--almanya-calisma-vizesi .hero__grid,
  .theme-page--almanya-oturum-izni .hero__grid,
  .theme-page--almanca-dil-egitimi .hero__grid,
  .theme-page--tercumanlik-belge-hazirligi .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .theme-page--hizmetlerimiz .hero__visual,
  .theme-page--almanya-vize-danismanligi .hero__visual,
  .theme-page--almanya-calisma-vizesi .hero__visual,
  .theme-page--almanya-oturum-izni .hero__visual,
  .theme-page--almanca-dil-egitimi .hero__visual,
  .theme-page--tercumanlik-belge-hazirligi .hero__visual {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 768px) {
  .theme-page--almanya-oturum-izni .hero__visual,
  .theme-page--almanca-dil-egitimi .hero__visual,
  .theme-page--tercumanlik-belge-hazirligi .hero__visual {
    align-self: center;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .theme-page--almanya-oturum-izni .theme-page-hero__picture,
  .theme-page--almanca-dil-egitimi .theme-page-hero__picture,
  .theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 1672 / 941;
  }

  .theme-page--almanya-oturum-izni .theme-page-hero__picture img,
  .theme-page--almanca-dil-egitimi .theme-page-hero__picture img,
  .theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 767px) {
  .site-header__bar-inner {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__brand-wrap {
    gap: 8px;
    width: 100%;
  }

  .site-header__brand a {
    gap: 8px;
  }

  .site-header__brand-mark {
    width: clamp(95px, 30vw, 120px);
    max-height: 48px;
    height: auto;
  }

  .site-header__brand-text {
    font-size: 0.98rem;
  }

  .site-header__brand-meta,
  .site-header__bar-note {
    font-size: 0.84rem;
  }

  .site-header__bar-note {
    display: none;
  }

  .site-header__contact {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
    font-size: 0.82rem;
  }

  .site-header__contact-link {
    padding: 6px 0;
  }

  .site-header__nav-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    min-height: 44px;
    padding: 10px 14px;
  }

  .header-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.94rem;
  }

  .site-header__nav-inner {
    gap: 12px;
  }

  .site-header__nav-inner .primary-nav {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 48px;
  }

  .hero__grid {
    gap: 16px;
  }

  .hero__visual {
    order: 0;
  }

  .hero__visual img {
    max-width: 100%;
    height: auto;
  }

  .hero--home .hero__visual {
    aspect-ratio: 4 / 5;
  }

  .hero--home .hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
  }

  .theme-page--almanya-oturum-izni .theme-page-hero__picture {
    aspect-ratio: 1122 / 1402;
  }

  .theme-page--almanya-calisma-vizesi .hero__visual {
    width: 100%;
    height: auto;
    min-height: 0;
    align-self: auto;
  }

  .theme-page--almanya-calisma-vizesi .theme-page-hero__picture {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1122 / 1402;
    overflow: hidden;
  }

  .theme-page--almanya-calisma-vizesi .theme-page-hero__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .theme-page--almanca-dil-egitimi .theme-page-hero__picture,
  .theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture {
    aspect-ratio: 1023 / 1537;
  }

  .theme-page--almanya-oturum-izni .hero__visual,
  .theme-page--almanca-dil-egitimi .hero__visual,
  .theme-page--tercumanlik-belge-hazirligi .hero__visual {
    aspect-ratio: auto;
  }

  .theme-page--hizmetlerimiz .theme-page-hero__picture img,
  .theme-page--almanya-vize-danismanligi .theme-page-hero__picture img,
  .theme-page--almanya-calisma-vizesi .theme-page-hero__picture img,
  .theme-page--almanya-oturum-izni .theme-page-hero__picture img,
  .theme-page--almanca-dil-egitimi .theme-page-hero__picture img,
  .theme-page--tercumanlik-belge-hazirligi .theme-page-hero__picture img {
    object-position: center 30%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .cta-panel__actions .button,
  .site-footer__actions .button {
    width: 100%;
  }

  .hero__trust {
    gap: 8px;
  }

  .hero__trust li {
    font-size: 0.9rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .card,
  .service-card,
  .content-card,
  .timeline__item,
  .faq-item,
  .cta-panel {
    padding: 20px;
  }

  .faq-item summary {
    padding: 16px 18px;
  }

  .faq-item__body {
    padding: 0 18px 18px;
  }

  .site-footer .button {
    width: 100%;
  }

  .site-footer__logo {
    width: min(220px, 100%);
  }

  .footer-logo-card {
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .site-footer {
    padding-bottom: calc(24px + 76px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1200px) {
  .site-header .container {
    width: min(100% - 32px, 1320px);
  }

  .site-content {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    flex: 1 1 auto;
    min-width: 0;
  }

  .primary-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 0.45vw, 10px);
  }

  .primary-nav li:last-child {
    display: none;
  }

  .primary-nav a {
    padding: 8px clamp(8px, 0.7vw, 12px);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(244, 247, 251, 0.45);
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: rgba(30, 95, 168, 0.08);
    border-color: rgba(30, 95, 168, 0.12);
    color: var(--color-primary-active);
  }

  .primary-nav li.is-current a {
    background: rgba(30, 95, 168, 0.12);
    border-color: rgba(30, 95, 168, 0.18);
    color: var(--color-primary-active);
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 13px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(30, 95, 168, 0.12);
    transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    background: var(--color-primary-hover);
    color: #fff;
    box-shadow: 0 10px 22px rgba(30, 95, 168, 0.18);
    transform: translateY(-1px);
  }

  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .hero--home .hero__copy h1 {
    font-size: clamp(3rem, 3.6vw, 4.15rem);
    line-height: 1.04;
    max-width: 13.15ch;
  }

  .hero__visual {
    order: 0;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .theme-page--almanya-calisma-vizesi .hero__visual {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    align-self: auto;
    overflow: hidden;
  }

  .theme-page--almanya-calisma-vizesi .theme-page-hero__picture {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1122 / 1402 !important;
    overflow: hidden;
  }

  .theme-page--almanya-calisma-vizesi .theme-page-hero__picture img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center center;
  }
}
