reality2 / index.html
Devisusingai's picture
Add 2 files
9c15712 verified
Raw History Blame Contribute Delete
53.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>REALTYTRACK | German Real Estate Intelligence</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Oxanium', 'sans-serif'],
},
colors: {
realty: {
dark: '#0a0a12',
panel: '#161622',
border: '#2a2a3a',
neon: {
blue: '#00f5ff',
purple: '#9d00ff',
pink: '#ff00f5',
green: '#00ff9d',
orange: '#ff9d00'
},
highlight: '#3a3a4a',
danger: '#ff3a3a'
}
},
boxShadow: {
'neon-blue': '0 0 8px rgba(0, 245, 255, 0.7)',
'neon-purple': '0 0 8px rgba(157, 0, 255, 0.7)',
'neon-pink': '0 0 8px rgba(255, 0, 245, 0.7)',
'neon-green': '0 0 8px rgba(0, 255, 157, 0.7)',
'neon-orange': '0 0 8px rgba(255, 157, 0, 0.7)'
}
}
}
}
</script>
<style>
:root {
--neon-blue: #00f5ff;
--neon-purple: #9d00ff;
--neon-pink: #ff00f5;
--neon-green: #00ff9d;
--neon-orange: #ff9d00;
}
body {
background-color: #0a0a12;
color: #e0e0e0;
font-family: 'Oxanium', sans-serif;
-webkit-font-smoothing: antialiased;
}
/* Neon Text Effects */
.neon-text-blue {
color: var(--neon-blue);
text-shadow: 0 0 5px rgba(0, 245, 255, 0.7);
}
.neon-text-purple {
color: var(--neon-purple);
text-shadow: 0 0 5px rgba(157, 0, 255, 0.7);
}
.neon-text-pink {
color: var(--neon-pink);
text-shadow: 0 0 5px rgba(255, 0, 245, 0.7);
}
.neon-text-green {
color: var(--neon-green);
text-shadow: 0 0 5px rgba(0, 255, 157, 0.7);
}
.neon-text-orange {
color: var(--neon-orange);
text-shadow: 0 0 5px rgba(255, 157, 0, 0.7);
}
/* Data Panels */
.data-panel {
border: 1px solid #2a2a3a;
background-color: #161622;
transition: all 0.3s ease;
border-radius: 12px;
overflow: hidden;
}
.data-panel:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* Futuristic Grid Background */
.cyber-grid {
background-image:
linear-gradient(rgba(42, 42, 58, 0.3) 1px, transparent 1px),
linear-gradient(90deg, rgba(42, 42, 58, 0.3) 1px, transparent 1px);
background-size: 20px 20px;
}
/* Holographic Effect */
.holographic-effect {
position: relative;
overflow: hidden;
}
.holographic-effect::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
background: linear-gradient(45deg,
rgba(0, 245, 255, 0.03) 0%,
rgba(157, 0, 255, 0.03) 50%,
rgba(255, 0, 245, 0.03) 100%);
transform: rotate(30deg);
animation: hologram 15s linear infinite;
z-index: 0;
}
@keyframes hologram {
0% { transform: rotate(30deg) translateX(0); }
100% { transform: rotate(30deg) translateX(-100px); }
}
/* 3D Card Effect */
.card-3d {
transform-style: preserve-3d;
perspective: 1000px;
transition: transform 0.5s ease;
}
.card-3d:hover {
transform: rotateY(5deg) rotateX(5deg) translateY(-5px);
}
/* Loading Spinner */
.spinner {
width: 40px;
height: 40px;
border: 4px solid rgba(0, 245, 255, 0.3);
border-radius: 50%;
border-top-color: var(--neon-blue);
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Data Refresh Animation */
@keyframes dataRefresh {
0% { opacity: 0.5; transform: scale(0.95); }
100% { opacity: 1; transform: scale(1); }
}
.data-refresh {
animation: dataRefresh 0.5s ease-out;
}
/* Optimized Charts */
.chart-container {
position: relative;
height: 250px;
width: 100%;
}
/* Glow Effects */
.glow-border {
position: relative;
}
.glow-border::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 12px;
pointer-events: none;
box-shadow: inset 0 0 10px rgba(0, 245, 255, 0.3);
}
/* Info Tooltip */
.info-tooltip {
position: relative;
display: inline-block;
cursor: pointer;
}
.info-tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: #161622;
color: #e0e0e0;
text-align: center;
border-radius: 6px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s;
border: 1px solid #2a2a3a;
font-size: 12px;
box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}
.info-tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.info-icon {
color: #a0a0a0;
font-size: 12px;
margin-left: 5px;
transition: color 0.2s;
}
.info-tooltip:hover .info-icon {
color: var(--neon-blue);
}
</style>
</head>
<body class="bg-realty-dark text-gray-300 min-h-screen">
<!-- Header -->
<header class="border-b border-realty-border bg-realty-dark sticky top-0 z-50">
<div class="container mx-auto px-4 py-3">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-2">
<span class="neon-text-blue font-bold text-2xl md:text-3xl">REALTY</span>
<span class="neon-text-purple font-bold text-2xl md:text-3xl">TRACK</span>
<span class="text-xs px-2 py-1 bg-realty-panel rounded neon-text-green hidden sm:inline">DE v4.2.0</span>
</div>
<button id="mobile-menu-button" class="md:hidden text-gray-400 hover:text-white focus:outline-none">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
<nav id="main-nav" class="hidden md:flex space-x-4 lg:space-x-6">
<a href="#dashboard" class="nav-link active text-white text-sm lg:text-base">Dashboard</a>
<a href="#buying" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Buying</a>
<a href="#renting" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Renting</a>
<a href="#selling" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Selling</a>
<a href="#investments" class="nav-link text-gray-400 hover:text-white text-sm lg:text-base">Investments</a>
</nav>
<div class="text-xs text-gray-400 hidden sm:block">
<span class="mr-2 md:mr-4">Last updated: <span id="last-updated" class="text-white">Just now</span></span>
<button id="refresh-data" class="text-xs px-2 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">
<i class="fas fa-sync-alt mr-1"></i>Refresh
</button>
</div>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-6">
<!-- Dashboard Section -->
<section id="dashboard" class="page-section active">
<!-- Market Overview -->
<div class="mb-8">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-4 gap-2">
<h2 class="text-xl md:text-2xl font-semibold neon-text-blue flex items-center">
<span class="inline-block w-3 h-3 rounded-full bg-realty-neon-blue mr-2"></span>
GERMAN REAL ESTATE MARKET OVERVIEW
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Key metrics showing the current state of the German real estate market. Prices, rents, and investment volumes across major cities.</span>
</div>
</h2>
<div class="flex space-x-2">
<button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">Cities</button>
<button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">Regions</button>
<button class="text-xs px-3 py-1 bg-realty-panel rounded border border-realty-border hover:bg-realty-highlight transition-colors">National</button>
</div>
</div>
<!-- Key Metrics Grid -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
<!-- Purchase Price -->
<div class="data-panel card-3d p-4 cyber-grid glow-border">
<div class="flex justify-between items-start">
<div>
<div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
Avg. Purchase Price
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Average price per square meter for residential properties across Germany. Shows current value and yearly change.</span>
</div>
</div>
<div class="text-2xl font-bold neon-text-blue">€4,850/m²</div>
</div>
<div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
<span class="inline-block w-2 h-2 rounded-full bg-realty-neon-green mr-1"></span>
<span class="text-realty-neon-green">+3.2% YoY</span>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs text-gray-400 mb-1">
<span>€4,700 (2022)</span>
<span>Peak: €4,950</span>
</div>
<div class="w-full bg-realty-border rounded-full h-1.5">
<div class="bg-realty-neon-blue h-1.5 rounded-full" style="width: 85%"></div>
</div>
</div>
</div>
<!-- Rent Price -->
<div class="data-panel card-3d p-4 cyber-grid glow-border">
<div class="flex justify-between items-start">
<div>
<div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
Avg. Rent Price
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Average monthly rent per square meter. Shows how much tenants pay across Germany.</span>
</div>
</div>
<div class="text-2xl font-bold neon-text-purple">€12.50/m²</div>
</div>
<div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
<span class="inline-block w-2 h-2 rounded-full bg-realty-neon-green mr-1"></span>
<span class="text-realty-neon-green">+5.1% YoY</span>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs text-gray-400 mb-1">
<span>€11.90 (2022)</span>
<span>Peak: €12.80</span>
</div>
<div class="w-full bg-realty-border rounded-full h-1.5">
<div class="bg-realty-neon-purple h-1.5 rounded-full" style="width: 78%"></div>
</div>
</div>
</div>
<!-- Vacancy Rate -->
<div class="data-panel card-3d p-4 cyber-grid glow-border">
<div class="flex justify-between items-start">
<div>
<div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
Vacancy Rate
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Percentage of empty properties. Lower rates mean higher demand and competition for housing.</span>
</div>
</div>
<div class="text-2xl font-bold neon-text-green">1.8%</div>
</div>
<div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
<span class="inline-block w-2 h-2 rounded-full bg-realty-danger mr-1"></span>
<span class="text-realty-danger">-0.4% YoY</span>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs text-gray-400 mb-1">
<span>2.2% (2022)</span>
<span>Low: 1.5%</span>
</div>
<div class="w-full bg-realty-border rounded-full h-1.5">
<div class="bg-realty-neon-green h-1.5 rounded-full" style="width: 65%"></div>
</div>
</div>
</div>
<!-- Investment Volume -->
<div class="data-panel card-3d p-4 cyber-grid glow-border">
<div class="flex justify-between items-start">
<div>
<div class="text-xs uppercase tracking-wider text-gray-400 mb-1 flex items-center">
Investment Volume
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Total money invested in German real estate. Shows market activity and investor confidence.</span>
</div>
</div>
<div class="text-2xl font-bold neon-text-orange">€42.8B</div>
</div>
<div class="text-xs px-2 py-1 bg-realty-panel rounded-full flex items-center">
<span class="inline-block w-2 h-2 rounded-full bg-realty-danger mr-1"></span>
<span class="text-realty-danger">-18% YoY</span>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs text-gray-400 mb-1">
<span>€52.1B (2022)</span>
<span>Peak: €68.3B</span>
</div>
<div class="w-full bg-realty-border rounded-full h-1.5">
<div class="bg-realty-neon-orange h-1.5 rounded-full" style="width: 62%"></div>
</div>
</div>
</div>
</div>
<!-- Price Development & Rental Yield -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
<!-- Price Development Chart -->
<div class="data-panel p-4 card-3d holographic-effect">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold neon-text-purple flex items-center">
PRICE DEVELOPMENT TREND
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How property prices have changed over 5 years in major cities. Helps spot long-term trends.</span>
</div>
</h3>
<span class="text-xs bg-realty-panel px-2 py-1 rounded">5-year trend</span>
</div>
<div class="chart-container">
<canvas id="priceDevelopmentChart"></canvas>
</div>
<div class="mt-3 text-xs grid grid-cols-3 gap-2">
<div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-blue mr-1"></span> Berlin</div>
<div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-purple mr-1"></span> Munich</div>
<div class="flex items-center"><span class="inline-block w-2 h-2 rounded-full bg-realty-neon-pink mr-1"></span> Frankfurt</div>
</div>
</div>
<!-- Rental Yield Analysis -->
<div class="data-panel p-4 card-3d holographic-effect">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold neon-text-green flex items-center">
RENTAL YIELD HEATMAP
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Annual rental income as percentage of property value. Higher yields mean better returns for landlords.</span>
</div>
</h3>
<span class="text-xs bg-realty-panel px-2 py-1 rounded">gross annual</span>
</div>
<div class="chart-container">
<canvas id="rentalYieldChart"></canvas>
</div>
<div class="grid grid-cols-3 gap-2 mt-2 text-xs text-center">
<div>
<div class="font-bold">Berlin</div>
<div>3.8%</div>
<div class="text-realty-neon-green">+0.2%</div>
</div>
<div>
<div class="font-bold">Hamburg</div>
<div>3.5%</div>
<div class="text-realty-neon-blue">±0.0%</div>
</div>
<div>
<div class="font-bold">Leipzig</div>
<div>4.2%</div>
<div class="text-realty-neon-green">+0.3%</div>
</div>
</div>
</div>
</div>
</div>
<hr class="border-t border-realty-border my-6">
<!-- Regional Deep Dive -->
<div class="mb-8">
<h2 class="text-xl md:text-2xl font-semibold mb-4 flex items-center neon-text-pink">
<span class="inline-block w-3 h-3 rounded-full bg-realty-neon-pink mr-2"></span>
REGIONAL DEEP DIVE
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Detailed comparison of different cities and regions. Shows where prices are highest and growing fastest.</span>
</div>
</h2>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
<!-- City Price Comparison -->
<div class="data-panel p-4 card-3d">
<div class="mb-4">
<h3 class="font-semibold neon-text-blue flex items-center">
TOP CITY PRICE COMPARISON
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Radar chart comparing key metrics across cities. Shows strengths and weaknesses of each market.</span>
</div>
</h3>
<div class="text-xs text-gray-400 mt-1">Price per m² for residential properties</div>
</div>
<div class="chart-container">
<canvas id="cityPriceChart"></canvas>
</div>
<div class="text-xs mt-3 space-y-1">
<div><span class="neon-text-blue">Munich remains most expensive at €7,200/m²</span></div>
<div><span class="neon-text-green">Leipzig shows strongest growth at +6.5% YoY</span></div>
</div>
</div>
<!-- Price to Rent Ratio -->
<div class="data-panel p-4 card-3d">
<div class="mb-4">
<h3 class="font-semibold neon-text-green flex items-center">
PRICE TO RENT RATIO
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How many years of rent would equal the property price. Lower ratios may indicate better value.</span>
</div>
</h3>
<div class="text-xs text-gray-400 mt-1">Years to pay off purchase through rent</div>
</div>
<div class="chart-container">
<canvas id="priceRentChart"></canvas>
</div>
<div class="text-xs mt-3 space-y-1">
<div><span class="neon-text-blue">Berlin ratio at 26.3 years (from 24.8)</span></div>
<div><span class="neon-text-purple">Munich highest at 32.1 years</span></div>
</div>
</div>
<!-- Regional Heatmap Preview -->
<div class="data-panel p-4 card-3d">
<div class="mb-4">
<h3 class="font-semibold neon-text-orange flex items-center">
REGIONAL HOTSPOTS
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Table showing fastest growing areas. Helps identify emerging markets with potential.</span>
</div>
</h3>
<div class="text-xs text-gray-400 mt-1">Growth leaders and laggards</div>
</div>
<div class="overflow-x-auto">
<table class="w-full text-xs">
<thead>
<tr class="border-b border-realty-border">
<th class="text-left pb-2">Region</th>
<th class="text-right pb-2">Price/m²</th>
<th class="text-right pb-2">Growth</th>
<th class="text-right pb-2">Yield</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-realty-border">
<td class="py-2">Berlin-Mitte</td>
<td class="text-right">€5,850</td>
<td class="text-right text-realty-neon-green">+4.2%</td>
<td class="text-right">3.5%</td>
</tr>
<tr class="border-b border-realty-border">
<td class="py-2">Munich-Center</td>
<td class="text-right">€7,200</td>
<td class="text-right text-realty-neon-blue">+2.1%</td>
<td class="text-right">2.8%</td>
</tr>
<tr class="border-b border-realty-border">
<td class="py-2">Leipzig-East</td>
<td class="text-right">€2,950</td>
<td class="text-right text-realty-neon-green">+6.5%</td>
<td class="text-right">4.2%</td>
</tr>
<tr>
<td class="py-2">Dresden-North</td>
<td class="text-right">€3,150</td>
<td class="text-right text-realty-neon-green">+5.8%</td>
<td class="text-right">3.9%</td>
</tr>
</tbody>
</table>
</div>
<div class="text-xs mt-2 neon-text-green">
Emerging markets: Leipzig, Dresden, Potsdam (+5%+ growth)
</div>
</div>
</div>
<!-- Investment Segments -->
<div class="data-panel p-4 mb-6 card-3d">
<div class="flex justify-between items-center mb-4">
<h3 class="font-semibold neon-text-purple flex items-center">
INVESTMENT SEGMENT PERFORMANCE
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How different property types are performing. Helps choose the best investment strategy.</span>
</div>
</h3>
<span class="text-xs bg-realty-panel px-2 py-1 rounded">Q2 2023</span>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
<div class="p-3 bg-[#003153] rounded glow-border" style="box-shadow: 0 0 8px rgba(0, 245, 255, 0.3);">
<div class="text-xs mb-1 font-bold neon-text-blue">Luxury Residential</div>
<div class="text-xs mb-1 text-gray-400">Prime locations, high-end</div>
<div class="flex flex-wrap gap-1 mt-2">
<span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 2.8%</span>
<span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +3.1%</span>
</div>
</div>
<div class="p-3 bg-[#1a1a2e] rounded glow-border" style="box-shadow: 0 0 8px rgba(157, 0, 255, 0.3);">
<div class="text-xs mb-1 font-bold neon-text-purple">Affordable Housing</div>
<div class="text-xs mb-1 text-gray-400">Suburban, value segment</div>
<div class="flex flex-wrap gap-1 mt-2">
<span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 4.2%</span>
<span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +5.5%</span>
</div>
</div>
<div class="p-3 bg-[#3a0a2e] rounded glow-border" style="box-shadow: 0 0 8px rgba(255, 0, 245, 0.3);">
<div class="text-xs mb-1 font-bold neon-text-pink">Commercial</div>
<div class="text-xs mb-1 text-gray-400">Office & retail spaces</div>
<div class="flex flex-wrap gap-1 mt-2">
<span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 5.1%</span>
<span class="text-xs px-2 py-1 bg-red-900/50 rounded-full">Growth: -1.2%</span>
</div>
</div>
<div class="p-3 bg-[#4a0100] rounded glow-border" style="box-shadow: 0 0 8px rgba(255, 157, 0, 0.3);">
<div class="text-xs mb-1 font-bold neon-text-orange">New Developments</div>
<div class="text-xs mb-1 text-gray-400">Pre-construction projects</div>
<div class="flex flex-wrap gap-1 mt-2">
<span class="text-xs px-2 py-1 bg-blue-900/50 rounded-full">Yield: 3.9%</span>
<span class="text-xs px-2 py-1 bg-green-900/50 rounded-full">Growth: +4.8%</span>
</div>
</div>
</div>
</div>
</div>
<hr class="border-t border-realty-border my-6">
<!-- Predictive Analytics -->
<div class="mb-8">
<h2 class="text-xl md:text-2xl font-semibold mb-4 flex items-center neon-text-blue">
<span class="inline-block w-3 h-3 rounded-full bg-realty-neon-blue mr-2"></span>
PREDICTIVE MARKET ANALYTICS
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Forecasts and models predicting future market trends. Helps plan investments and timing.</span>
</div>
</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
<!-- Price Forecast -->
<div class="data-panel p-4 card-3d">
<div class="mb-3">
<h3 class="font-semibold neon-text-green flex items-center">
12-MONTH PRICE FORECAST
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Expected price changes in major cities. Range shows optimistic and conservative estimates.</span>
</div>
</h3>
<div class="text-xs text-gray-400">Model based on economic indicators and historical trends</div>
</div>
<div class="chart-container">
<canvas id="priceForecastChart"></canvas>
</div>
<div class="text-xs mt-3 grid grid-cols-2 gap-1">
<div><span class="neon-text-blue">Berlin: +2.1% to +4.5%</span></div>
<div><span class="neon-text-purple">Munich: +1.5% to +3.2%</span></div>
<div><span class="neon-text-green">Leipzig: +4.0% to +6.5%</span></div>
<div><span class="neon-text-orange">Hamburg: +1.8% to +3.8%</span></div>
</div>
</div>
<!-- Interest Rate Impact -->
<div class="data-panel p-4 card-3d">
<div class="mb-3">
<h3 class="font-semibold neon-text-purple flex items-center">
INTEREST RATE SENSITIVITY
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How property prices might change if interest rates go up or down. Based on historical patterns.</span>
</div>
</h3>
<div class="text-xs text-gray-400">Price impact of ECB rate changes</div>
</div>
<div class="chart-container">
<canvas id="rateImpactChart"></canvas>
</div>
<div class="text-xs mt-3">
<div class="grid grid-cols-3 gap-2">
<div>
<div>+0.5% rate</div>
<div class="font-medium text-realty-danger">-3.2% prices</div>
</div>
<div>
<div>+1.0% rate</div>
<div class="font-medium text-realty-danger">-6.8% prices</div>
</div>
<div>
<div>-0.5% rate</div>
<div class="font-medium text-realty-neon-green">+4.1% prices</div>
</div>
</div>
<div class="mt-2 text-xs text-gray-400">
<i class="fas fa-info-circle mr-1"></i> Based on historical correlations
</div>
</div>
</div>
</div>
<!-- Market Health Indicators -->
<div class="data-panel p-4 card-3d">
<div class="flex justify-between items-center mb-3">
<h3 class="font-semibold neon-text-orange flex items-center">
MARKET HEALTH INDICATORS
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Composite scores showing overall market conditions. Higher scores mean healthier markets.</span>
</div>
</h3>
<span class="text-xs bg-realty-panel px-2 py-1 rounded">composite index</span>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
<div class="p-3">
<div class="text-xs mb-1 text-gray-400 flex items-center">
Affordability Index
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How affordable properties are relative to local incomes. Lower scores mean less affordable.</span>
</div>
</div>
<div class="text-2xl font-bold text-realty-danger">42.1</div>
<div class="text-xs"><span class="text-realty-danger">↓</span> 5.2% worse YoY</div>
</div>
<div class="p-3">
<div class="text-xs mb-1 text-gray-400 flex items-center">
Demand Pressure
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How many buyers are competing for properties. Higher scores mean more competition.</span>
</div>
</div>
<div class="text-2xl font-bold">78.5</div>
<div class="text-xs"><span class="text-realty-neon-blue">→</span> Stable</div>
</div>
<div class="p-3">
<div class="text-xs mb-1 text-gray-400 flex items-center">
Investor Sentiment
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">How confident investors feel about the market. Higher scores mean more optimism.</span>
</div>
</div>
<div class="text-2xl font-bold">65.2</div>
<div class="text-xs"><span class="text-realty-neon-green">↑</span> 8.1% better QoQ</div>
</div>
<div class="p-3">
<div class="text-xs mb-1 text-gray-400 flex items-center">
Supply Balance
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Balance between available properties and demand. Higher scores mean better balance.</span>
</div>
</div>
<div class="text-2xl font-bold text-realty-danger">38.7</div>
<div class="text-xs"><span class="text-realty-danger">↓</span> 12.3% worse YoY</div>
</div>
</div>
</div>
</div>
<hr class="border-t border-realty-border my-6">
<!-- City Performance Matrix -->
<div class="mb-8">
<h2 class="text-xl md:text-2xl font-semibold mb-4 neon-text-pink flex items-center">
CITY PERFORMANCE MATRIX
<div class="info-tooltip">
<span class="info-icon"><i class="fas fa-info-circle"></i></span>
<span class="tooltip-text">Detailed comparison of all key metrics for major cities. Helps compare investment opportunities.</span>
</div>
</h2>
<div class="data-panel p-4 overflow-x-auto">
<table class="w-full text-sm">
<thead>
<tr class="border-b border-realty-border">
<th class="text-left pb-2">City</th>
<th class="text-right pb-2">Price/m²</th>
<th class="text-right pb-2">Growth</th>
<th class="text-right pb-2">Rent/m²</th>
<th class="text-right pb-2">Yield</th>
<th class="text-right pb-2">Price/Rent</th>
<th class="text-right pb-2">Vacancy</th>
<th class="text-right pb-2">Score</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-realty-border">
<td class="py-2">Munich</td>
<td class="text-right">€7,200</td>
<td class="text-right text-realty-neon-blue">+2.1%</td>
<td class="text-right">€18.50</td>
<td class="text-right">2.8%</td>
<td class="text-right">32.1</td>
<td class="text-right">1.2%</td>
<td class="text-right font-bold">78</td>
</tr>
<tr class="border-b border-realty-border">
<td class="py-2">Berlin</td>
<td class="text-right">€5,850</td>
<td class="text-right text-realty-neon-green">+4.2%</td>
<td class="text-right">€14.20</td>
<td class="text-right">3.5%</td>
<td class="text-right">26.3</td>
<td class="text-right">1.8%</td>
<td class="text-right font-bold">85</td>
</tr>
<tr class="border-b border-realty-border">
<td class="py-2">Hamburg</td>
<td class="text-right">€5,250</td>
<td class="text-right text-realty-neon-green">+3.8%</td>
<td class="text-right">€13.80</td>
<td class="text-right">3.6%</td>
<td class="text-right">25.9</td>
<td class="text-right">2.1%</td>
<td class="text-right font-bold">82</td>
</tr>
<tr>
<td class="py-2">Leipzig</td>
<td class="text-right">€2,950</td>
<td class="text-right text-realty-neon-green">+6.5%</td>
<td class="text-right">€9.80</td>
<td class="text-right">4.2%</td>
<td class="text-right">21.4</td>
<td class="text-right">2.5%</td>
<td class="text-right font-bold">91</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<!-- Other sections (Buying, Renting, Selling, Investments) would follow similar optimized patterns -->
</main>
<script>
// Initialize all charts with optimized settings
document.addEventListener('DOMContentLoaded', function() {
// Price Development Chart
const priceCtx = document.getElementById('priceDevelopmentChart').getContext('2d');
const priceChart = new Chart(priceCtx, {
type: 'line',
data: {
labels: ['2018', '2019', '2020', '2021', '2022', '2023'],
datasets: [
{
label: 'Berlin',
data: [3800, 4200, 4500, 5200, 5700, 5850],
borderColor: '#00f5ff',
backgroundColor: 'rgba(0, 245, 255, 0.1)',
borderWidth: 2,
tension: 0.3,
pointRadius: 3,
pointBackgroundColor: '#00f5ff'
},
{
label: 'Munich',
data: [5800, 6200, 6500, 6800, 7000, 7200],
borderColor: '#9d00ff',
backgroundColor: 'rgba(157, 0, 255, 0.1)',
borderWidth: 2,
tension: 0.3,
pointRadius: 3,
pointBackgroundColor: '#9d00ff'
},
{
label: 'Frankfurt',
data: [4000, 4200, 4400, 4800, 5200, 5400],
borderColor: '#ff00f5',
backgroundColor: 'rgba(255, 0, 245, 0.1)',
borderWidth: 2,
tension: 0.3,
pointRadius: 3,
pointBackgroundColor: '#ff00f5'
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
},
tooltip: {
mode: 'index',
intersect: false,
backgroundColor: '#161622',
titleColor: '#e0e0e0',
bodyColor: '#e0e0e0',
borderColor: '#2a2a3a',
borderWidth: 1,
padding: 10,
callbacks: {
label: function(context) {
return context.dataset.label + ': €' + context.raw.toLocaleString();
}
}
}
},
scales: {
x: {
grid: {
color: 'rgba(42, 42, 58, 0.5)'
},
ticks: {
color: '#a0a0a0'
}
},
y: {
grid: {
color: 'rgba(42, 42, 58, 0.5)'
},
ticks: {
color: '#a0a0a0',
callback: function(value) {
return '€' + value.toLocaleString();
}
}
}
},
animation: {
duration: 1000,
easing: 'easeOutQuart'
}
}
});
// Rental Yield Chart
const yieldCtx = document.getElementById('rentalYieldChart').getContext('2d');
const yieldChart = new Chart(yieldCtx, {
type: 'bar',
data: {
labels: ['Berlin', 'Munich', 'Hamburg', 'Frankfurt', 'Leipzig', 'Cologne'],
datasets: [{
label: 'Gross Yield',
data: [3.8, 2.8, 3.5, 3.6, 4.2, 3.9],
backgroundColor: [
'rgba(0, 255, 157, 0.7)',
'rgba(157, 0, 255, 0.7)',
'rgba(0, 245, 255, 0.7)',
'rgba(255, 157, 0, 0.7)',
'rgba(255, 0, 245, 0.7)',
'rgba(0, 157, 255, 0.7)'
],
borderColor: [
'#00ff9d',
'#9d00ff',
'#00f5ff',
'#ff9d00',
'#ff00f5',
'#009dff'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
},
tooltip: {
backgroundColor: '#161622',
titleColor: '#e0e0e0',
bodyColor: '#e0e0e0',
borderColor: '#2a2a3a',
borderWidth: 1,
padding: 10,
callbacks: {
label: function(context) {
return context.raw + '% yield';
}
}
},
datalabels: {
display: false
}
},
scales: {
x: {
grid: {
display: false
},
ticks: {
color: '#a0a0a
</html>