import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import localFont from "next/font/local";
import "../globals.css";

const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"] });
const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"] });

// Nur für Headlines/Wordmark gedacht (Rakku-Markenschrift) — nicht für Fließtext.
const quantify = localFont({
  src: "../fonts/Quantify.ttf",
  variable: "--font-quantify",
  display: "swap",
});

export const metadata: Metadata = {
  title: "Rakku Team",
  robots: { index: false, follow: false },
};

// Eigener Root-Layout-Zweig außerhalb von [locale] — bewusst ohne
// SiteHeader/SiteFooter/öffentliche Navigation. Das ist der Login-Einstieg
// der Mitarbeiter-Desktop-App: sie soll sich wie eine eigenständige interne
// App anfühlen, nicht wie die öffentliche Webseite in einem Fenster.
export default function TeamLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="de" className={`${geistSans.variable} ${geistMono.variable} ${quantify.variable} h-full antialiased`}>
      <body className="min-h-full bg-[var(--rk-bg)] text-[var(--rk-ink)]">{children}</body>
    </html>
  );
}
